Friday 4 November 2011

implement XOR gate without using XOR instruction


mov ax,[3000h]
mov bx,[3002h]
cmp ax,bx
jz l1
mov ax,01h
mov [4000h],ax
hlt
l1:mov ax,00h
mov [4000h],ax
hlt

No comments:

Post a Comment