MOVE MACRO A,B PUSH AX MOV AX,B MOV A,AX POP AX ENDM MOVE VAR1,VAR2 ;;move VAR2 into VAR1 0000 50 1 PUSH AX 0001 A1 0002 R 1 MOV AX,VAR2 0004 A3 0000 R 1 MOV VAR1,AX 0007 58 1 POP AX MOVE VAR3,VAR4 ;;move VAR4 into VAR3 0008 50 1 PUSH AX 0009 A1 0006 R 1 MOV AX,VAR4 000C A3 0004 R 1 MOV VAR3,AX 000F 58 1 POP AX
|