The assembly process

 

  

 

LABEL OPCODE OPERAND
LOCATION
SYMBOL TABLE
  .BEGIN
SYMBOL
ADDRESS
LOOP: IN X
0
LOOP
0
  IN Y
2
DONE
14
  LOAD X
4
X
18
  COMPARE Y
6
Y
20
  JUMPGT DONE
8
   
  OUT X
10
   
  JUMP LOOP
12
   
DONE: OUT Y
14
   
  HALT
16
   
X: .DATA 0
18
   
Y: .DATA 0
20
   

 

[Prev] [Next]


CS1104 Main Page
Last Updated 10/15/2000
© L.Heath, 2000, modified by J.A.N. Lee.