An 8085 program to for 8 bit multiplication

Saturday, June 13th, 2009

LDA   2000     // Load multiplicant to accumulator
MOV  B,A        // Move multiplicant from A(accumulator) to B register
LDA   2001    // Load multiplier to accumulator
MOV  C,A      // Move multiplier from A to C
MVI   A,00  // Load immediate value 00 to a
L: ADD    B         // Add B(multiplier) with A
DCR    C         // Decrement C, it act as a counter
JNZ     L          // Jump to L if C reaches 0
STA    2010   // Store result in to memory
HLT              // End

RSS Feed Add to Technorati Favorites Add to Del.icio.us Stumble It! Submit to Slashdot Digg It!

Post to Twitter Post to Plurk Plurk This Post Post to Ping.fm Ping This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Copy the code below to your web site.
x 
You may find these interesting..
  • Adsense revenue sharing program What is adsense revenue sharing? You may have heard this...
  • 8085 Simulator This is a  useful simulator for who engaged with...
  • tagged under: ..

    ABOUT THIS AUTHOR

    1. July 28, 2009 at 5:05 pm --Quote thisQuote this comment

    Leave a reply [and we dofollow]

    our blog have dofollow tags
    PageRank Hosted on QuadRegal Hosting