TaPUSH and POP Instructions set summary Operand Mnemonics Symbolic Operation Source MEMB = 0100 is used to locate a byte in data segment MEMW= 0100 is used to locate a word in data segment Replace the byte in Al with the byte from the 256 byte lookup table beginning at AL is used as an offset into this table The flags are not affected. Transferred 32-bit pointer variable from the source operand in memory to the destination register and register DS or ES none of the flags are affected. LDS BX, DWORD PTR LES BX, DWORD PTRīL BH DS BL BH ES Ĭomments The effective address of the source operand is transferred to the destination operand The flags are not affected. Table 1b 8086 Data transfer instruction set summary Operand Mnemonics Symbolic Operation destination, source LEA DX, MEMB BL 00 BH 01H Output a byte or word to indirect I/O ports 0000H to FFFFH The port address is in DX The flags are not affected. Output a byte or word to direct I/O ports 00H to FFH. Input a byte or word from indirect I/O ports 0000H to FFFFH The port address is in DX None of the flags are affected. Input a byte or word from direct I/O ports 00H to FFH. Port 01H AL Port 02H AL Port 03H AH Port DX AL Port DX AL Port DX+1 AHĬomments Register to register Register to register Memory to register Memory to register Register to memory Register to memory Immediate data to memory Immediate data to memory Immediate data to register Immediate data to register General register to segment register Segment register to general register Memory to segment register Segment register to memory Exchange the contents of the word or byte source operand with the destination operand none of the flags are affected. OUT 01H, AL OUT 02H, AX OUT DX, AL OUT DX, AX MOV AL, MEMB MOV MEMW, AX MOV MEMB, BL MOV MEMW, 2244H Symbolic Operation AX BX AL BL AL AH AL AL AH BL 44H 22H 44HĪL Port 01H AL Port 02H AH 03H AL Port DX AL Port DX AH Port DX + 1 Mnemonics MOV AX, BX MOV AL, BL MOV AX, MEMW Table 1a 8086 Data transfer instruction set summary Opcode MOV