Addressing modes of microprocessor 8086 8086 The way of specifying data to be operated by an instruction is known as addressing modes . This specifies that the given data is an immediate data or an address. It also specifies whether the given operand is register or register pair. Types of addressing modes: Register mode – In this type of addressing mode both the operands are registers. Example: MOV AX, BX XOR AX, DX ADD AL, BL Immediate mode – In this type of addressing mode the source operand is a 8 bit or 16 bit data. Destination operand can never be immediate data. Example: MOV AX, 2000 MOV CL, 0A ADD AL, 45 AND AX, 0000 Note that to initialize the value of segment register an register is required. MOV AX, 2000 MOV CS, AX Displacement or direct mode – In this type of addressing mode the effective address is directly given in the instruction as displacement. Example: MOV AX, [DISP] MOV AX, [0500] Register indirect mode – In thi...
Java, c language, PHP , microprocessor , UNIX , computer graphics