📄 v3k_fram_uart_demo1_sdcc.asm
字号:
; genPlus
; genPlusIncr
inc r3
; Peephole 112.b changed ljmp to sjmp
; Peephole 243 avoided branch to sjmp
cjne r3,#0x00,00135$
inc r4
00210$:
sjmp 00135$
00138$:
C$V3K_FRAM_UART_Demo1_SDCC.c$125$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:125: letter = 'C';
; genAssign
mov r2,#0x43
C$V3K_FRAM_UART_Demo1_SDCC.c$126$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:126: for(cptr = 0x800; cptr < 0xC00; cptr++)
; genAssign
mov r3,#0x00
mov r4,#0x08
00139$:
; genCmpLt
; genCmp
clr c
mov a,r3
subb a,#0x00
mov a,r4
xrl a,#0x80
subb a,#0x8c
; genIfxJump
; Peephole 108 removed ljmp by inverse jump logic
jnc 00142$
00211$:
C$V3K_FRAM_UART_Demo1_SDCC.c$128$2$4 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:128: *(framptr+cptr) = letter;
; genPlus
; Peephole 236.g used r3 instead of ar3
mov a,r3
add a,_framptr
mov dpl,a
; Peephole 236.g used r4 instead of ar4
mov a,r4
addc a,(_framptr + 1)
mov dph,a
; genPointerSet
; genFarPointerSet
mov a,r2
movx @dptr,a
C$V3K_FRAM_UART_Demo1_SDCC.c$129$2$4 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:129: if(letter == 'C')
; genCmpEq
; Peephole 112.b changed ljmp to sjmp
; Peephole 199 optimized misc jump sequence
cjne r2,#0x43,00108$
;00212$:
; Peephole 200 removed redundant sjmp
00213$:
C$V3K_FRAM_UART_Demo1_SDCC.c$130$2$4 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:130: letter = 'X';
; genAssign
mov r2,#0x58
; Peephole 112.b changed ljmp to sjmp
sjmp 00141$
00108$:
C$V3K_FRAM_UART_Demo1_SDCC.c$132$2$4 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:132: letter = 'C';
; genAssign
mov r2,#0x43
00141$:
C$V3K_FRAM_UART_Demo1_SDCC.c$126$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:126: for(cptr = 0x800; cptr < 0xC00; cptr++)
; genPlus
; genPlusIncr
inc r3
; Peephole 112.b changed ljmp to sjmp
; Peephole 243 avoided branch to sjmp
cjne r3,#0x00,00139$
inc r4
00214$:
sjmp 00139$
00142$:
C$V3K_FRAM_UART_Demo1_SDCC.c$137$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:137: letter = 'D';
; genAssign
mov r2,#0x44
C$V3K_FRAM_UART_Demo1_SDCC.c$138$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:138: for(cptr = 0xC00; cptr < 0x1000; cptr++)
; genAssign
mov r3,#0x00
mov r4,#0x0C
00143$:
; genCmpLt
; genCmp
clr c
mov a,r3
subb a,#0x00
mov a,r4
xrl a,#0x80
subb a,#0x90
; genIfxJump
; Peephole 108 removed ljmp by inverse jump logic
jnc 00146$
00215$:
C$V3K_FRAM_UART_Demo1_SDCC.c$140$2$5 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:140: *(framptr+cptr) = letter;
; genPlus
; Peephole 236.g used r3 instead of ar3
mov a,r3
add a,_framptr
mov dpl,a
; Peephole 236.g used r4 instead of ar4
mov a,r4
addc a,(_framptr + 1)
mov dph,a
; genPointerSet
; genFarPointerSet
mov a,r2
movx @dptr,a
C$V3K_FRAM_UART_Demo1_SDCC.c$141$2$5 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:141: if(letter == 'D')
; genCmpEq
; Peephole 112.b changed ljmp to sjmp
; Peephole 199 optimized misc jump sequence
cjne r2,#0x44,00111$
;00216$:
; Peephole 200 removed redundant sjmp
00217$:
C$V3K_FRAM_UART_Demo1_SDCC.c$142$2$5 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:142: letter = 'W';
; genAssign
mov r2,#0x57
; Peephole 112.b changed ljmp to sjmp
sjmp 00145$
00111$:
C$V3K_FRAM_UART_Demo1_SDCC.c$144$2$5 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:144: letter = 'D';
; genAssign
mov r2,#0x44
00145$:
C$V3K_FRAM_UART_Demo1_SDCC.c$138$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:138: for(cptr = 0xC00; cptr < 0x1000; cptr++)
; genPlus
; genPlusIncr
inc r3
; Peephole 112.b changed ljmp to sjmp
; Peephole 243 avoided branch to sjmp
cjne r3,#0x00,00143$
inc r4
00218$:
sjmp 00143$
00146$:
C$V3K_FRAM_UART_Demo1_SDCC.c$148$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:148: letter = 'E';
; genAssign
mov r2,#0x45
C$V3K_FRAM_UART_Demo1_SDCC.c$149$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:149: for(cptr = 0x1000; cptr < 0x1400; cptr++)
; genAssign
mov r3,#0x00
mov r4,#0x10
00147$:
; genCmpLt
; genCmp
clr c
mov a,r3
subb a,#0x00
mov a,r4
xrl a,#0x80
subb a,#0x94
; genIfxJump
; Peephole 108 removed ljmp by inverse jump logic
jnc 00150$
00219$:
C$V3K_FRAM_UART_Demo1_SDCC.c$151$2$6 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:151: *(framptr+cptr) = letter;
; genPlus
; Peephole 236.g used r3 instead of ar3
mov a,r3
add a,_framptr
mov dpl,a
; Peephole 236.g used r4 instead of ar4
mov a,r4
addc a,(_framptr + 1)
mov dph,a
; genPointerSet
; genFarPointerSet
mov a,r2
movx @dptr,a
C$V3K_FRAM_UART_Demo1_SDCC.c$152$2$6 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:152: if(letter == 'E')
; genCmpEq
; Peephole 112.b changed ljmp to sjmp
; Peephole 199 optimized misc jump sequence
cjne r2,#0x45,00114$
;00220$:
; Peephole 200 removed redundant sjmp
00221$:
C$V3K_FRAM_UART_Demo1_SDCC.c$153$2$6 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:153: letter = 'V';
; genAssign
mov r2,#0x56
; Peephole 112.b changed ljmp to sjmp
sjmp 00149$
00114$:
C$V3K_FRAM_UART_Demo1_SDCC.c$155$2$6 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:155: letter = 'E';
; genAssign
mov r2,#0x45
00149$:
C$V3K_FRAM_UART_Demo1_SDCC.c$149$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:149: for(cptr = 0x1000; cptr < 0x1400; cptr++)
; genPlus
; genPlusIncr
inc r3
; Peephole 112.b changed ljmp to sjmp
; Peephole 243 avoided branch to sjmp
cjne r3,#0x00,00147$
inc r4
00222$:
sjmp 00147$
00150$:
C$V3K_FRAM_UART_Demo1_SDCC.c$159$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:159: letter = 'F';
; genAssign
mov r2,#0x46
C$V3K_FRAM_UART_Demo1_SDCC.c$160$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:160: for(cptr = 0x1400; cptr < 0x1800; cptr++)
; genAssign
mov r3,#0x00
mov r4,#0x14
00151$:
; genCmpLt
; genCmp
clr c
mov a,r3
subb a,#0x00
mov a,r4
xrl a,#0x80
subb a,#0x98
; genIfxJump
; Peephole 108 removed ljmp by inverse jump logic
jnc 00154$
00223$:
C$V3K_FRAM_UART_Demo1_SDCC.c$162$2$7 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:162: *(framptr+cptr) = letter;
; genPlus
; Peephole 236.g used r3 instead of ar3
mov a,r3
add a,_framptr
mov dpl,a
; Peephole 236.g used r4 instead of ar4
mov a,r4
addc a,(_framptr + 1)
mov dph,a
; genPointerSet
; genFarPointerSet
mov a,r2
movx @dptr,a
C$V3K_FRAM_UART_Demo1_SDCC.c$163$2$7 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:163: if(letter == 'F')
; genCmpEq
; Peephole 112.b changed ljmp to sjmp
; Peephole 199 optimized misc jump sequence
cjne r2,#0x46,00117$
;00224$:
; Peephole 200 removed redundant sjmp
00225$:
C$V3K_FRAM_UART_Demo1_SDCC.c$164$2$7 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:164: letter = 'U';
; genAssign
mov r2,#0x55
; Peephole 112.b changed ljmp to sjmp
sjmp 00153$
00117$:
C$V3K_FRAM_UART_Demo1_SDCC.c$166$2$7 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:166: letter = 'F';
; genAssign
mov r2,#0x46
00153$:
C$V3K_FRAM_UART_Demo1_SDCC.c$160$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:160: for(cptr = 0x1400; cptr < 0x1800; cptr++)
; genPlus
; genPlusIncr
inc r3
; Peephole 112.b changed ljmp to sjmp
; Peephole 243 avoided branch to sjmp
cjne r3,#0x00,00151$
inc r4
00226$:
sjmp 00151$
00154$:
C$V3K_FRAM_UART_Demo1_SDCC.c$170$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:170: letter = 'G';
; genAssign
mov r2,#0x47
C$V3K_FRAM_UART_Demo1_SDCC.c$171$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:171: for(cptr = 0x1800; cptr < 0x1C00; cptr++)
; genAssign
mov r3,#0x00
mov r4,#0x18
00155$:
; genCmpLt
; genCmp
clr c
mov a,r3
subb a,#0x00
mov a,r4
xrl a,#0x80
subb a,#0x9c
; genIfxJump
; Peephole 108 removed ljmp by inverse jump logic
jnc 00158$
00227$:
C$V3K_FRAM_UART_Demo1_SDCC.c$173$2$8 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:173: *(framptr+cptr) = letter;
; genPlus
; Peephole 236.g used r3 instead of ar3
mov a,r3
add a,_framptr
mov dpl,a
; Peephole 236.g used r4 instead of ar4
mov a,r4
addc a,(_framptr + 1)
mov dph,a
; genPointerSet
; genFarPointerSet
mov a,r2
movx @dptr,a
C$V3K_FRAM_UART_Demo1_SDCC.c$174$2$8 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:174: if(letter == 'G')
; genCmpEq
; Peephole 112.b changed ljmp to sjmp
; Peephole 199 optimized misc jump sequence
cjne r2,#0x47,00120$
;00228$:
; Peephole 200 removed redundant sjmp
00229$:
C$V3K_FRAM_UART_Demo1_SDCC.c$175$2$8 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:175: letter = 'T';
; genAssign
mov r2,#0x54
; Peephole 112.b changed ljmp to sjmp
sjmp 00157$
00120$:
C$V3K_FRAM_UART_Demo1_SDCC.c$177$2$8 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:177: letter = 'G';
; genAssign
mov r2,#0x47
00157$:
C$V3K_FRAM_UART_Demo1_SDCC.c$171$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:171: for(cptr = 0x1800; cptr < 0x1C00; cptr++)
; genPlus
; genPlusIncr
inc r3
; Peephole 112.b changed ljmp to sjmp
; Peephole 243 avoided branch to sjmp
cjne r3,#0x00,00155$
inc r4
00230$:
sjmp 00155$
00158$:
C$V3K_FRAM_UART_Demo1_SDCC.c$182$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:182: letter = 'H';
; genAssign
mov r2,#0x48
C$V3K_FRAM_UART_Demo1_SDCC.c$183$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:183: for(cptr = 0x1C00; cptr < 0x2000; cptr++)
; genAssign
mov r3,#0x00
mov r4,#0x1C
00159$:
; genCmpLt
; genCmp
clr c
mov a,r3
subb a,#0x00
mov a,r4
xrl a,#0x80
subb a,#0xa0
; genIfxJump
; Peephole 108 removed ljmp by inverse jump logic
jnc 00196$
00231$:
C$V3K_FRAM_UART_Demo1_SDCC.c$185$2$9 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:185: *(framptr+cptr) = letter;
; genPlus
; Peephole 236.g used r3 instead of ar3
mov a,r3
add a,_framptr
mov dpl,a
; Peephole 236.g used r4 instead of ar4
mov a,r4
addc a,(_framptr + 1)
mov dph,a
; genPointerSet
; genFarPointerSet
mov a,r2
movx @dptr,a
C$V3K_FRAM_UART_Demo1_SDCC.c$186$2$9 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:186: if(letter == 'H')
; genCmpEq
; Peephole 112.b changed ljmp to sjmp
; Peephole 199 optimized misc jump sequence
cjne r2,#0x48,00123$
;00232$:
; Peephole 200 removed redundant sjmp
00233$:
C$V3K_FRAM_UART_Demo1_SDCC.c$187$2$9 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:187: letter = 'S';
; genAssign
mov r2,#0x53
; Peephole 112.b changed ljmp to sjmp
sjmp 00161$
00123$:
C$V3K_FRAM_UART_Demo1_SDCC.c$189$2$9 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:189: letter = 'H';
; genAssign
mov r2,#0x48
00161$:
C$V3K_FRAM_UART_Demo1_SDCC.c$183$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:183: for(cptr = 0x1C00; cptr < 0x2000; cptr++)
; genPlus
; genPlusIncr
inc r3
C$V3K_FRAM_UART_Demo1_SDCC.c$203$1$1 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:203: for( cptr = 0; cptr < 010; cptr++)
; Peephole 112.b changed ljmp to sjmp
; Peephole 243 avoided branch to sjmp
cjne r3,#0x00,00159$
inc r4
00234$:
sjmp 00159$
00196$:
; genAssign
mov r2,#0x08
mov r3,#0x00
00165$:
C$V3K_FRAM_UART_Demo1_SDCC.c$205$2$10 ==.
;C:/APP_ENG_Local/Demo_Programs/VRS51L3074/V3K_FRAM_UART_Demo1_SDCC/V3K_FRAM_UART_Demo1_SDCC.c:205: txmit0(13); //send CR+LF
; genCall
mov dpl,#0x0D
push ar2
push ar3
lcall _txmit0
pop ar3
pop ar2
C$V3K_FRAM_UART_Demo1_SDCC.c$206$2$10 ==.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -