6. You are given the following LC3 ASM program! For this exercise, you have two tasks:
(10 points)
1. Write the symbol table (use an absolute address, not offsets)
2. Manually assemble (aka convert to the internal LC3 representation) the instructions at A, B and D. Both
binary and hex are fine.
.ORIG x3000
AND R0, R0, #0
A
LD R1, E
AND R2, R1, #1
BRp C
B
ADD R1, R1, #-1
C
ADD R0, R0, R1
ADD R1, R1, #-2
D
BRp C
ST R0, F
TRAP x25
E .BLKW 1
F .BLKW 1
.END