Sie sind auf Seite 1von 2

LAST

LOC

PRIN

END

CSEC T

FINISH

PASS=2

SAME

Output Symbol & Prog Tables

New Heading / Page

retur n

Return to system

LOC = 0 INC = 0

again 2

LOC += INC

Read Input Line RR ? Move to Printline Save OPCODE for Printline INC= instr length yes no

Scan POT

Scan MOT

RR code

RX code

no Match ? yes PSEUD ORoutin e/ Return LOC routin e/ return PRIN Routine / Return again 2 Finish

End?

USIN G

DC/D S

RR

RX

INC = 0

no
F? yes no Alignment INC=4

Alignment INC=2

Get OPCODE

Get OPCODE

Pass= 2 yes Base Address = LOC

return

Convert Reg's to HEX equivalents (scan) no Pass 2 yes no Glue OPCODE & Regs together

Convert 1st Reg to HEX equivalent (scan)

Scan Symbol Table for 2nd operand

Find Base Reg (scan)

DC ?
Store in PROG and Printline yes Find dec. constant (scan) DISP = Value - Base Address

return

return

Glue OPCODE, R1, B2, & DISP together

Store in PROG Store in PROG and Printline

return return

Das könnte Ihnen auch gefallen