📄 remocon.asm
字号:
; line 406
$DGL 0,33
set1 RMCN.7 ;[INF] 3, 8
??eb03_IntRemoconEnd:
; line 407
?L0053:
; line 408
$DGL 0,35
??ef_IntRemoconEnd:
ret ;[INF] 1, 6
??ee_IntRemoconEnd:
; line 415
_IntRemoconFull:
$DGL 1,179
push hl ;[INF] 1, 4
??bf_IntRemoconFull:
; line 421
$DGL 0,7
mov a,_cRemRxCnt ;[INF] 2, 4
mov c,a ;[INF] 1, 2
mov a,RMDR ;[INF] 2, 5
movw hl,#_aRemRxBuff ;[INF] 3, 6
mov [hl+c],a ;[INF] 1, 6/7
; line 422
$DGL 0,8
inc _cRemRxCnt ;[INF] 2, 4
; line 423
$DGL 0,9
??ef_IntRemoconFull:
pop hl ;[INF] 1, 4
ret ;[INF] 1, 6
??ee_IntRemoconFull:
; line 430
_IntRemocon:
$DGL 1,185
push ax ;[INF] 1, 4
push bc ;[INF] 1, 4
push de ;[INF] 1, 4
movw ax,_@RTARG0 ;[INF] 2, 6
push ax ;[INF] 1, 4
movw ax,_@RTARG2 ;[INF] 2, 6
push ax ;[INF] 1, 4
movw ax,_@RTARG4 ;[INF] 2, 6
push ax ;[INF] 1, 4
movw ax,_@RTARG6 ;[INF] 2, 6
push ax ;[INF] 1, 4
??bf_IntRemocon:
; line 431
$DGL 0,2
mov a,INTS ;[INF] 2, 5
bf a.3,$?L0060 ;[INF] 3, 8
; line 432
??bb00_IntRemocon:
; line 433
$DGL 0,4
mov a,INTC ;[INF] 2, 5
or a,#08H ; 8 ;[INF] 2, 4
mov INTC,a ;[INF] 2, 5
; line 434
$DGL 0,5
call !_IntRemoconFull ;[INF] 3, 7
??eb00_IntRemocon:
; line 435
$DGL 0,6
br $?L0064 ;[INF] 2, 6
?L0060:
; line 436
$DGL 0,7
mov a,INTS ;[INF] 2, 5
bf a.2,$?L0062 ;[INF] 3, 8
; line 437
??bb01_IntRemocon:
; line 438
$DGL 0,9
mov a,INTC ;[INF] 2, 5
or a,#04H ; 4 ;[INF] 2, 4
mov INTC,a ;[INF] 2, 5
; line 439
$DGL 0,10
call !_IntRemoconEnd ;[INF] 3, 7
??eb01_IntRemocon:
; line 440
$DGL 0,11
br $?L0064 ;[INF] 2, 6
?L0062:
; line 441
$DGL 0,12
mov a,INTS ;[INF] 2, 5
bf a.0,$?L0064 ;[INF] 3, 8
; line 442
??bb02_IntRemocon:
; line 443
$DGL 0,14
mov a,INTC ;[INF] 2, 5
or a,#01H ; 1 ;[INF] 2, 4
mov INTC,a ;[INF] 2, 5
; line 444
$DGL 0,15
call !_IntRemoconError ;[INF] 3, 7
??eb02_IntRemocon:
; line 445
?L0064:
; line 446
; line 447
; line 453
$DGL 0,24
mov a,INTC ;[INF] 2, 5
or a,#02H ; 2 ;[INF] 2, 4
mov INTC,a ;[INF] 2, 5
; line 455
$DGL 0,26
??ef_IntRemocon:
pop ax ;[INF] 1, 4
movw _@RTARG6,ax ;[INF] 2, 6
pop ax ;[INF] 1, 4
movw _@RTARG4,ax ;[INF] 2, 6
pop ax ;[INF] 1, 4
movw _@RTARG2,ax ;[INF] 2, 6
pop ax ;[INF] 1, 4
movw _@RTARG0,ax ;[INF] 2, 6
pop de ;[INF] 1, 4
pop bc ;[INF] 1, 4
pop ax ;[INF] 1, 4
reti ;[INF] 1, 6
??ee_IntRemocon:
; line 462
_Remocon_display:
$DGL 1,203
??bf_Remocon_display:
; line 463
$DGL 0,2
mov a,#00H ; 0 ;[INF] 2, 4
cmp a,_cRemOnTime ;[INF] 2, 4
bc $$+5 ;[INF] 2, 6
br !?L0068 ;[INF] 3, 6
; line 464
??bb00_Remocon_display:
; line 465
$DGL 0,4
cmp _clk_sec1,#00H ; 0 ;[INF] 3, 6
bz $?L0070 ;[INF] 2, 6
; line 466
??bb01_Remocon_display:
; line 467
$DGL 0,6
movw ax,#0FF80H ; -128 ;[INF] 3, 6
push ax ;[INF] 1, 4
movw ax,#05H ; 5 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 468
$DGL 0,7
mov a,_aRemRxData ;[INF] 2, 4
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#04H ; 4 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 469
$DGL 0,8
mov a,_aRemRxData ;[INF] 2, 4
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#03H ; 3 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 470
$DGL 0,9
mov a,_aRemRxData+1 ;[INF] 2, 4
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#02H ; 2 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 471
$DGL 0,10
mov a,_aRemRxData+1 ;[INF] 2, 4
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#01H ; 1 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 472
$DGL 0,11
movw ax,#048H ; 72 ;[INF] 3, 6
push ax ;[INF] 1, 4
mov x,a ;[INF] 1, 2
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
??eb01_Remocon_display:
; line 473
$DGL 0,12
br $?L0069 ;[INF] 2, 6
?L0070:
; line 475
??bb02_Remocon_display:
; line 476
$DGL 0,15
movw ax,#0FF81H ; -127 ;[INF] 3, 6
push ax ;[INF] 1, 4
movw ax,#05H ; 5 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 477
$DGL 0,16
mov a,_aRemRxData+2 ;[INF] 2, 4
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#04H ; 4 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 478
$DGL 0,17
mov a,_aRemRxData+2 ;[INF] 2, 4
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#03H ; 3 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 479
$DGL 0,18
mov a,_aRemRxData+3 ;[INF] 2, 4
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
ror a,1 ;[INF] 1, 2
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#02H ; 2 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 480
$DGL 0,19
mov a,_aRemRxData+3 ;[INF] 2, 4
and a,#0FH ; 15 ;[INF] 2, 4
mov x,a ;[INF] 1, 2
rolc a,1 ;[INF] 1, 2
subc a,a ;[INF] 2, 4
push ax ;[INF] 1, 4
movw ax,#01H ; 1 ;[INF] 3, 6
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
; line 481
$DGL 0,20
movw ax,#048H ; 72 ;[INF] 3, 6
push ax ;[INF] 1, 4
mov x,a ;[INF] 1, 2
callt [?LCD_putc] ;[INF] 1, 6
pop ax ;[INF] 1, 4
??eb02_Remocon_display:
; line 482
; line 483
$DGL 0,22
??eb00_Remocon_display:
br $?L0069 ;[INF] 2, 6
?L0068:
; line 485
??bb03_Remocon_display:
; line 486
$DGL 0,25
callt [?ClrLcdString] ;[INF] 1, 6
??eb03_Remocon_display:
; line 487
?L0069:
; line 488
$DGL 0,27
??ef_Remocon_display:
ret ;[INF] 1, 6
??ee_Remocon_display:
; line 495
_Remocon:
$DGL 1,225
push hl ;[INF] 1, 4
??bf_Remocon:
; line 496
$DGL 0,2
mov l,#00H ; 0 ;[INF] 2, 4
; line 498
?L0082:
; line 499
??bb00_Remocon:
; line 500
$DGL 0,6
cmp _sw3_in,#08H ; 8 ;[INF] 3, 6
bz $?L0086 ;[INF] 2, 6
cmp _cRemCode,#02H ; 2 ;[INF] 3, 6
bnz $?L0084 ;[INF] 2, 6
?L0086:
; line 501
??bb01_Remocon:
; line 502
$DGL 0,8
call !_AllKeyOff ;[INF] 3, 7
; line 503
$DGL 0,9
br $?L0083 ;[INF] 2, 6
??eb01_Remocon:
; line 504
?L0084:
; line 506
??bb02_Remocon:
; line 507
$DGL 0,13
call !_Remocon_display ;[INF] 3, 7
??eb02_Remocon:
; line 508
??eb00_Remocon:
; line 509
$DGL 0,15
br $?L0082 ;[INF] 2, 6
?L0083:
; line 510
$DGL 0,16
??ef_Remocon:
pop hl ;[INF] 1, 4
ret ;[INF] 1, 6
??ee_Remocon:
@@VECT3A CSEG AT 003AH
_@vect3a:
DW _IntRemocon
@@CALF CSEG FIXED
END
; *** Code Information ***
;
; $FILE D:\78lx3seeitV1_1\source\remocon.c
;
; $FUNC Remocon_init(107)
; void=(void)
; CODE SIZE= 64 bytes, CLOCK_SIZE= 158 clocks, STACK_SIZE= 0 bytes
;
; $FUNC GetRemCode(155)
; bc=(void)
; CODE SIZE= 67 bytes, CLOCK_SIZE= 178 clocks, STACK_SIZE= 8 bytes
;
; $CALL memcpy(162)
; bc=(pointer:ax, pointer:[sp+2], unsigned int:[sp+4])
;
; $FUNC RemoconMain(196)
; void=(void)
; CODE SIZE= 155 bytes, CLOCK_SIZE= 369 clocks, STACK_SIZE= 4 bytes
;
; $CALL GetRemCode(259)
; bc=(void)
;
; $FUNC RemoconTime(282)
; void=(void)
; CODE SIZE= 16 bytes, CLOCK_SIZE= 41 clocks, STACK_SIZE= 2 bytes
;
; $CALL RemoconMain(292)
; void=(void)
;
; $FUNC RemoconKeyOff(301)
; void=(void)
; CODE SIZE= 4 bytes, CLOCK_SIZE= 12 clocks, STACK_SIZE= 0 bytes
;
; $FUNC IntRemoconError(341)
; void=(void)
; CODE SIZE= 44 bytes, CLOCK_SIZE= 109 clocks, STACK_SIZE= 0 bytes
;
; $FUNC IntRemoconEnd(374)
; void=(void)
; CODE SIZE= 55 bytes, CLOCK_SIZE= 137 clocks, STACK_SIZE= 0 bytes
;
; $FUNC IntRemoconFull(415)
; void=(void)
; CODE SIZE= 14 bytes, CLOCK_SIZE= 42 clocks, STACK_SIZE= 2 bytes
;
; $FUNC IntRemocon(430)
; void=(void)
; CODE SIZE= 83 bytes, CLOCK_SIZE= 238 clocks, STACK_SIZE= 16 bytes
;
; $CALL IntRemoconFull(434)
; void=(void)
;
; $CALL IntRemoconEnd(439)
; void=(void)
;
; $CALL IntRemoconError(444)
; void=(void)
;
; $FUNC Remocon_display(462)
; void=(void)
; CODE SIZE= 180 bytes, CLOCK_SIZE= 472 clocks, STACK_SIZE= 4 bytes
;
; $CALL LCD_putc(467)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(468)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(469)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(470)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(471)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(472)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(476)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(477)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(478)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(479)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(480)
; void=(int:ax, int:[sp+2])
;
; $CALL LCD_putc(481)
; void=(int:ax, int:[sp+2])
;
; $CALL ClrLcdString(486)
; void=(void)
;
; $FUNC Remocon(495)
; void=(void)
; CODE SIZE= 25 bytes, CLOCK_SIZE= 68 clocks, STACK_SIZE= 4 bytes
;
; $CALL AllKeyOff(502)
; void=(void)
;
; $CALL Remocon_display(507)
; void=(void)
; Target chip : uPD78F0495
; Device file : V1.11
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -