Professional Documents
Culture Documents
أحمد الحربي/دكتور
Assemblers تابع
LA 15, SETUP
=6–0=6
1
)6 (0, 15
Algorithm
3
PASS 2: GENERATE CODE
• The matching MOT entry specifies the length, binary op-code, and
• The two fields are inserted into their respective four-bit fields in the
4
• For RX-format instructions, the register and index fields are
Address (EA). Then the base register table (BT) must be examined
are then assembled into the third and fourth bytes of the instruction.
similarly.
5
• As in pass 1, each of the pseudo-ops calls for special processing.
• The END pseudo-op indicates the end of the source program and
6
be performed. For example, code must be generated for any literals
7
8