You are on page 1of 2

Sum six elements of a list which starts at location 200.

assembly language
program
----------------------START 0100H
LDA
#0

LDX

LOOP: ADD

TIX

JLT

#0

LIST, X

COUNT

LOOP

RSUB

LIST:

WORD 200

COUNT: WORD 6

END

Symbol Table
Symbol
LOOP
LIST
COUNT

Address
0106
0112
0115

Configuration Table
Offset
0007
000A

DC00
DC01
DC02
DC03
DC04
C05

SSB pointer
for the symbol
DC00
DC05
SSB
4CH
49H
53H
54H
5EH

ASCII for L,I,S,T

ASCII for separation character

memory
address

0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
010A
010B
010C
010D
010E
010F
0110
0111
0112
0113
0114
0115
0116
0117

object code
in memory

01
00
00
05
00
00
18
01
12
2C
01
15
38
01
06
4C
00
00
00
02
00
00
00
06

placed in Pass 2

placed in Pass 2

placed in Pass 1

You might also like