Example-problems3.ans

# Top 0 extdef table raddr 35 extdef tablen 032023 lda

This preview shows pages 2–4. Sign up to view the full content.

TOP | 0 EXTDEF TABLE RADDR | 35 EXTDEF TABLEN TABLE | 38 0003 032023 LDA =C'SUM' TABLEN | 293C 0006 4B100000 +JSUB OUTTX 000A 03201F LDA =C' RO' LITERAL POOL: 000D 4B100000 +JSUB OUTTX Symbol | loc | LTORG# 0011 03201B LDA =C'UTI' =C'SUM' | 29 | 1 0014 4B100000 +JSUB OUTTX =C' RO' | 2C | 1 0018 032017 LDA =X'4E450A' =C'UTI' | 2F | 1 001B 4B100000 +JSUB OUTTX =X'4E450A | 32 | 1 EXTREF RTN1 001F 4B100000 +JSUB RTN1 RLD: 0023 0B200F LDL RADDR (empty) 0026 4F0000 RSUB 0029 LTORG ESD: 0029 53554D (EXTDEF part) 002C 20524F RTN2 0 002F 555449 TABLE 38 0032 4E450A TABLEN 293C 0035 RADDR RESW 1 (EXTREF part) 0038 TABLE RESW 3500 OUTTX 7 293C 002904 TABLEN WORD 10500 OUTTX E 293F END RTN2 OUTTX 15 OUTTX 1C module length = 293F RTN1 20 --------------------------------------------------------------------------- loc code source 0000 RTN3 START 0 SYMBOL TABLE: 0000 5233 BYTE C'R3' Symbol | loc EXTDEF OUTNM RTN3 | 0 0002 172018 OUTNM STL RADDR OUTNM | 2 0005 032018 LDA =C'STU' RADDR | 1D EXTREF OUTTX 0008 4B100000 +JSUB OUTTX LITERAL POOL: 000C 032014 LDA =C'B ' Symbol | loc | LTORG# 000F 4B100000 +JSUB OUTTX =C'STU' | 20 | 1 0013 032010 LDA =X'20200A' =C'B ' | 23 | 1 0016 4B100000 +JSUB OUTTX =X'20200A'| 26 | 1 001A 3E2000 J @RADDR 001D RADDR RESW 1 RLD: 0020 END (empty) 0020 535455 0023 422020 ESD: 0026 20200A (EXTDEF part) module length = 29 RTN3 0 OUTNM 2 (EXTREF part) OUTTX 9 OUTTX 10 OUTTX 17

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Relocated code : (6 - 7) Global ESD 1000 17203A 5000 172032 (EXTDEF part) 1003 B410 5003 032023 RTN1 1000 1005 B440 5006 4B100000 OUTTX 1049 1007
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page2 / 4

TOP 0 EXTDEF TABLE RADDR 35 EXTDEF TABLEN 032023 LDA CSUM...

This preview shows document pages 2 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online