Question: 3- Write a sub-routine named as Fcomp that replaces binary complement of each byte in a memory area (RAM) that begins from the address indicated

3- Write a sub-routine named as "Fcomp" that replaces binary complement of each byte in a memory area (RAM) that begins from the address indicated by RO and ends by address indicated by RI. RO and R1 are 8-bit auxiliary registers, Values of R1 and RO are assumed to be RI R028. Initial value of the 8-bit accumulator "A" mustn't be affected by the call of subroutine fcomp. com(RO,R1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
