📄 _iscntrl.asm
字号:
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:24 2001;-------------------------------------------------------- .module _iscntrl ;--------------------------------------------------------; Public variables in this module;-------------------------------------------------------- .globl _iscntrl;--------------------------------------------------------; special function registers;--------------------------------------------------------;--------------------------------------------------------; special function bits ;--------------------------------------------------------;--------------------------------------------------------; internal ram data;-------------------------------------------------------- .area DSEG (DATA);--------------------------------------------------------; overlayable items in internal ram ;-------------------------------------------------------- .area OSEG (OVR,DATA);--------------------------------------------------------; indirectly addressable internal ram data;-------------------------------------------------------- .area ISEG (DATA);--------------------------------------------------------; bit data;-------------------------------------------------------- .area BSEG (BIT);--------------------------------------------------------; external ram data;-------------------------------------------------------- .area XSEG (XDATA)_iscntrl_c_1_1:: .ds 1;--------------------------------------------------------; global & static initialisations;-------------------------------------------------------- .area GSINIT (CODE) .area GSFINAL (CODE) .area GSINIT (CODE);--------------------------------------------------------; Home;-------------------------------------------------------- .area HOME (CODE) .area CSEG (CODE);--------------------------------------------------------; code;-------------------------------------------------------- .area CSEG (CODE);------------------------------------------------------------;Allocation info for local variables in function 'iscntrl';------------------------------------------------------------;c Allocated to in memory with name '_iscntrl_c_1_1'; _iscntrl.c 27; -----------------------------------------; function iscntrl; -----------------------------------------_iscntrl: ar2 = 0x02 ar3 = 0x03 ar4 = 0x04 ar5 = 0x05 ar6 = 0x06 ar7 = 0x07 ar0 = 0x00 ar1 = 0x01; _iscntrl.c 32 push dpl mov dptr,#_iscntrl_c_1_1 pop acc movx @dptr,a; _iscntrl.c 30 mov dptr,#_iscntrl_c_1_1 movx a,@dptr mov r2,a clr c mov a,#0x1F subb a,r2; Peephole 108 removed ljmp by inverse jump logic jnc 00101$00107$:; Peephole 132 changed ljmp to sjmp; Peephole 199 optimized misc jump sequence cjne r2,#0x7F,00102$;00108$:; Peephole 200 removed redundant sjmp00109$:00101$:; _iscntrl.c 31 mov dpl,#0x01; Peephole 132 changed ljmp to sjmp sjmp 00104$00102$:; _iscntrl.c 32 mov dpl,#0x0000104$: ret .area CSEG (CODE)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -