Statement: Write a program to shift a 16 bit data, 1 bit right. Assume that data is in BC register pair.


Statement: Write a program to shift a 16 bit data, 1 bit right. Assume that data is in BC register pair.
Source program 2
  • MOV A, B
  • RAR
  • MOV B, A
  • MOV A, C
  • RAR
  • MOV C, A
  • HLT

Post a Comment

0 Comments

Close Menu