Information Technology Reference
In-Depth Information
Start
ILC ← 0
Process next instruction
Ye s
Pass 2
END
No
Ye s
Add to Symbol Table
with value
Label
Increment ILC
=
ILC
No
Figure 3.4 Simplified pass one in a two-pass assembler
Start
Process next instruction
Ye s
END
Stop
No
Opcode Lookup
Symbol Table Lookup
Generate machine code
Figure 3.5 Simplified pass two in a two-pass assembler
3.5. EXAMPLE: THE X86 FAMILY
In this section, we discuss the assembly language features and use of the X86 family.
We present the basic organizational features of the system, the basic programming
model, the addressing modes, sample of the different instruction types used, and
 
Search WWH ::




Custom Search