Simple 8086 microprocessor programs

..............

Friday, January 8, 2010

1's complement of a number



MOV AX,[1800h]
NOT AX
MOV [2000h],AX
HLT

;Execution: SW 1800 = AE34 ;
;GO 1000 EXECUTING.....
;SW:2000 6EF5

No comments:

Post a Comment