来看看这段代码:
if(alarm_delay_timer_disable>TIMER_10S) alarm_disable_flag=0;
其中:
变量alarm_delay_timer_disable是两个字节
设定参数TIMER_10S=1000
变量alarm_disable为一个字节
反汇编出来的代码如下
CODE:0178 c3 CLR CY
CODE:0179 74 e8 MOV A,#0xe8
CODE:017b 95 4d SUBB A,WORD_INTMEM_4d = ??
CODE:017d 74 03 MOV A,#0x3
CODE:017f 95 4e SUBB A,WORD_INTMEM_4d+1 = null
CODE:0181 50 03 JNC LAB_CODE_0186
CODE:0183 75 51 00 MOV DAT_INTMEM_51,#0x0 = ??
编译器还是给力的
|