输入一段汇编代码后不能识别“BRC”,有错误(1 Assembly Error, No Assembly Warnings BRC)
如果汇编代码没有错误又有这俩错误:
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "test.out" not built
怎么解决啊??我就想仿真而已,没有连接硬件CPU
汇编源代码:
TBL: .word 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
.word 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
PROM .usect "PROM",20
.bss a,20
.bss x,20
.bss y,20
DATA .usect "DATA",20
.text
_c_int00
b start
nop
nop
start:
STM #a,AR1
RPT #39
MVPD TBL,*AR1+
STM #x,AR2
STM #y,AR3
RPT #19
MVDD *AR2+,*AR3+
STM #a,AR1
LD #PROM,A
STM #19,AR3
LOOPP: WRITA *AR1+
ADD #1,A,A
BANZ LOOPP,*AR3-
LD #PROM-1,A
STM #DATA,AR1
ST #19,BRC
RPTB LOOP2
ADD #1,A,A
LOOP2: READA *AR1+
WAIT: NOP
B WAIT