;============================================================================== ;file :xyConvertor.asm ;author :Andre Long ;due :April 19, 2006 ;description :This subprocedure will set 1's to 0's and 0's to 1's ;============================================================================== ;Procedures INCLUDE Pcmac.inc ;macros ;============================================================================== .MODEL SMALL .586 .STACK 1000h ;============================================================================== .DATA ;============================================================================== .CODE PUBLIC xyConvertor xyConvertor proc start: cmp al, 1 je then jmp elseB then: mov al, 0 jmp done elseB: mov al, 1 jmp done done: ret xyConvertor endp end