Professional Documents
Culture Documents
Experiment Title-5: A) 1's Complement of 16 Bit Number B) 2's Complement of 16 Bit Number
Experiment Title-5: A) 1's Complement of 16 Bit Number B) 2's Complement of 16 Bit Number
Experiment Title-5: A) 1's Complement of 16 Bit Number B) 2's Complement of 16 Bit Number
3. Description/ Code:
a)
LDA 2000
MOV B,A
CMA
STA 2002
LDA 2001
MOV C,A
CMA
STA 2003
HLT
#ORG2000
#DB 23H,32H
LDA 2000
MOV B,A
CMA
INR A
STA 2002
LDA 2001
MOV C,A
CMA
INR A
STA 2003
HLT
#ORG2000
#DB 23H,32H
4. Result/Output/Writing Summary:
a)
b)
Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):