Statement: Write a program to shift an eight bit data four bits right. Assume data is in register C.
(4200H) = 58
Result = (4300H) = 08 and
(4301H) = 05
Statement: Write a program to shift a 16 bit data, 1 bit right. Assume that data is in BC register pair.
Related Programs for Beginners: (Click down)