Sample
problem:
(4400H)
= 55H
Result
= (4300B) = AAB
Source
program:
LDA 4400B : Get the number
CMA : Complement number
STA 4300H : Store the result
HLT : Terminate program execution
|
Sample
problem:
(4400H)
= 55H
Result
= (4300B) = AAB
Source
program:
LDA 4400B : Get the number
CMA : Complement number
STA 4300H : Store the result
HLT : Terminate program execution
|
0 Comments