InterviewSolution
Saved Bookmarks
| 1. |
Write A Program In Assembly Language To Find Out One`s And Two`s Complement For An 8 Bit Number? |
|
Answer» The PROGRAM to find the one`s COMPLEMENT of an eight BIT number is as follows: LDA 2501H CMA STA 2502H HLT The program to find the two`s complement is as follows: LDA 2501H CMA INR A STA 2502H HLT The program to find the one`s complement of an eight bit number is as follows: LDA 2501H CMA STA 2502H HLT The program to find the two`s complement is as follows: LDA 2501H CMA INR A STA 2502H HLT |
|