An Assembly Language Program to find 2's Complement of given binary number.
Data Segment num dw 00000010B Data Ends Code Segment Assume cs:code, ds:data Begin: mov ax, data mov ds, ax mov es, ax mov ax, num NOT ax add ax, 00000001B Exit: mov ax, 4c00h int 21h Code Ends End Begin