8085 program

Thread Starter

swty_todd

Joined Aug 3, 2008
82
Hey I read this solution for calulating the mulitplcation of (09)H & (04)H in Assembly Language Programming for 8085.
I am not sure how the RAL works in this case, Help me out please.

MVI A, 09
RAL
RAL
RST 1
 

AlexR

Joined Jan 16, 2008
732
Shifting a binary number 1 bit to the left is the same as multiplying it by 2.
Try it for yourself with a pencil and paper on a couple of simple binary numbers!
 
Top