MODULE-2 - AddressingModes - Part 2
MODULE-2 - AddressingModes - Part 2
MICROPROCESSOR ARCHITECTURE
& INTERFACING : INTEL x86
• An instruction is a basic command given to a microprocessor to perform a specified
operation with given data.
• Each instruction has two groups of bits.
• One group of bits is known as operation code (Opcode), which defines what operation will
be performed by the instruction.
• The other field is called operand, which specifies data that will be used in arithmetic and
logical operations.
• The operand can specify a register or a memory location in any one of the memory segments
or I/O ports.
• The addressing mode is used to locate the operand or data.
• There are different types of addressing modes depending upon the location of data in the
8086 processor.
• Most 8086 instructions can operate on the 8086’s general purpose register set.
• By specifying the name of the register as an operand to the instruction, you may access the
• This instruction copies the data from the source operand to the destination operand.
• The eight and 16 bit registers are certainly valid operands for this instruction.
• The only restriction is that both operands must be the same size.
mov ax, bx ;Copies the value from BX into AX
• IN AX, 80H ; AX gets 16-bit data from I/O port address 80H
= (409A0)H
• The value of the DS register is 3032H. And the BX register contains
3040H. Find the physical address.
33360H
• You are provided with the following values:
DS: 3056H, IP: 1023H, BP: 2322H and SP: 3029H.
Can you calculate the effective address of the memory location as per the DS
register?
i. Direct Addressing: MOV AX, [5000H]
ii. Register Indirect: MOV AX, [BX]
iii. Register Relative: MOV AX, 5000H [BX]
iv. Based Indexed: MOV AX, [BX] [SI]
v. Relative Based Indexed: MOV AX, 5000H [BX] [SI]