Home > other >  assembler
assembler

Time:03-26

STACK_TOP EQU 0 x20002000
AREA RESET CODE, READONLY
DCD STACK_TOP
DCD START
ENTRY
START
CMP R0, # 0
BGT R0GT0
BEQ R0EQ0
MOV R4, # 3
MOV R5, # 5
The MUL R2, R0, R0
The MUL R3, R2, R4
The ADD R1, R3, R5
B CMPEND
R0EQ0
MOV R1, # 0
END
R0GT0
MOV R6, # 2
MOV R7, # 3
The MUL R2, R0, R0
The MUL R3, R2, R0
The MUL R4, R3 and R6
The MUL R5, R0, R7
The ADD R1 and R5, R4
The ADD R1, # 7
CMPEND
DEADLOOP
B DEADLOOP
END

455. The s (8) : error: A1516E: Bad symbol 'R0GT0', not defined or external
455. The s (15) : error: A1516E: Bad symbol 'CMPEND', not defined or external
What change?