Saturday, September 12, 2009

Right shift bit of data(8085)


Statement:Write a program to shift an eight bit data four bits right. Assume that data is in register C.

Source program:
MOV A, C
RAR
RAR
RAR
RAR
MOV C, A
HLT

No comments:

Post a Comment