Statement: Find the l’s complement of the number stored at memory location 4400H and store the complemented number at memory location 4300H.
(4400H) = 55H
Result = (4300B) = AAB
LDA 4400B : Get the number
CMA : Complement number
STA 4300H : Store the result
HLT : Terminate program execution
Related Programs for Beginners: (Click down)