编译/汇编结果正常通过的呀。
110: MOV ABC,#056H
111: ;
112: ;
113: ; #pragma asm
114: ; mov a,ABC
C:0x0000 750856 MOV ABC(0x08),#0x56
115: mov a,ABC
116: ; mov r0,#10h
C:0x0003 E508 MOV A,ABC(0x08)
117: mov r0,#10h
118: ; mov r1,#11h
C:0x0005 7810 MOV R0,#0x10
119: mov r1,#11h
120: ; mov @r0,a
C:0x0007 7911 MOV R1,#0x11
121: mov @r0,a
122: ; mov @r1,ABC
C:0x0009 F6 MOV @R0,A
123: mov @r1,ABC
124: ; nop
C:0x000A A708 MOV @R1,ABC(0x08)
125: nop
126: ; nop
C:0x000C 00 NOP
127: nop
128: ?C0001:
129: ; #pragma endasm
130: ;
131: ; while(1);
132: ; SOURCE LINE # 21
C:0x000D 00 NOP
133: SJMP ?C0001
C:0x000E 80FE SJMP C0001(C:000E)
C:0x0010 00 NOP
C:0x0011 00 NOP
C:0x0012 00 NOP
C:0x0013 00 NOP
C:0x0014 00 NOP
C:0x0015 00 NOP
|