Addressing Mode Calculations - Intel Quark SoC X1000 Core Developer's Manual

Hide thumbs Also See for Quark SoC X1000 Core:
Table of Contents

Advertisement

Architectural Overview—Intel
Based Scaled Index Mode: The contents of an INDEX register is multiplied by a
SCALING factor and the result is added to the contents of a BASE register to obtain the
operand's offset.
Example: MOV ECX, [EDX*8] [EAX]
Figure 3.

Addressing Mode Calculations

Segment Register
SS
Selector
GS
Selector
FS
Selector
ES
Selector
DS
Selector
CS
Descriptor Register
Access Rights
Access Rights
Access Rights
Access Rights
Access Rights
Based Index Mode with Displacement: The contents of an INDEX Register and a
BASE register's contents and a DISPLACEMENT are all summed together to form the
operand offset.
Example: ADD EDX, [ESI] [EBP+00FFFFF0H]
Based Scaled Index Mode with Displacement: The contents of an INDEX register
are multiplied by a SCALING factor, the result is added to the contents of a BASE
register and a DISPLACEMENT to form the operand's offset.
Example: MOV EAX, LOCALTABLE[EDI*4] [EBP+80]
October 2013
Order Number: 329679-001US
®
Quark Core
Selector
+
Effective
Address
SS
GS
FS
ES
DS
Access Rights
CS
Limits
Base Address
Base Register
Index Register
X
Scale
1, 2, 4, or 8
Displacement
(in instruction)
Linear
Address
+
Target Address
Segment Base Address
Selected
Limit
Selected
Segment
A5159-01
®
Intel
Quark SoC X1000 Core
Developer's Manual
27

Advertisement

Table of Contents
loading

Table of Contents