The document discusses the instruction set architecture of Intel 8086-80486 processors. It describes the different types of instructions including data transfer, arithmetic, logical, and branch instructions. It provides details on the MOV instruction format and addressing modes used to specify operands. The MOV instruction template is shown using MOD R/M bytes to encode register-register, register-memory and immediate addressing modes.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
86 views13 pages
Instruction Set & ALP
The document discusses the instruction set architecture of Intel 8086-80486 processors. It describes the different types of instructions including data transfer, arithmetic, logical, and branch instructions. It provides details on the MOV instruction format and addressing modes used to specify operands. The MOV instruction template is shown using MOD R/M bytes to encode register-register, register-memory and immediate addressing modes.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13
8086-80486
Instruction set & ALP
Instruction Types Data Transfer Instructions Arithmetic Instructions Logical Instructions Branch and Program control Instructions
MOV Instruction MOV destination , source MOV destination , source Instruction Format The Processor executes an instruction it performs the specified function on data Data- called operands May be a part of the instruction May reside in one of the internal registers of the p May be stored at an address in memory
Addressing Modes Register Addressing Immediate Addressing Direct Addressing Register Indirect Addressing Base-plus-index addressing Register relative addressing Base relative plus-indexed addressing Scaled Indexed Addressing 1 0 0 0 1 0 Opcode D W MOD REG R/M Low Disp High Disp Dir Addr LB Dir Addr HB OR D = 0 ( Direction from Reg ) = 1 ( Direction to Reg ) W = 0 ( Data byte ) = 1 ( Data word ) MOD + R/M - Addressing Modes BYTE 1 BYTE 2 BYTE 3 BYTE 4 32- bit instruction Format Address Size 0-1 Operand Size 0-1 Opcode
1-2 MOD REG R/M 0-1 Scaled Index 0-1 Displace ment 0-4 Opcode
1-2 MOD REG R/M 0-1 Displace ment 0-2 32-bit addressing modes First two bytes are over-riding prefix need not be used always 1 st modifies size of address 16-bit mode 32 bit address 67 H
32-bit mode 16 bit address 67 H
2 nd modifies size of register 16-bit mode 32 bit register 66 H
32-bit mode 16 bit register 66 H
00 01 10 11
000 001 010 011 100
101 110 111
EAX ECX EDX EBX Scaled Index d32 ESI EDI
EAX+d8 ECX+d8 EDX+d8 EBX+d8 Scaled Index +d8 EBP+d8 ESI+d8 EDI+d8
EAX+d32 ECX+d32 EDX+d32 EBX+d32 Scaled Index +d32 EBP+d32 ESI+d32 EDI+d32 W = 0 W = 1 AL CL DL BL AH