
_my_irq_dontcareabout_p1_high_nibble:
        push    acc
        push    dpl
        push    dph
        push    psw
        mov     psw,#0x00
;       output.c:8: P1 = table[counter];
        mov     a,_my_irq_dontcareabout_p1_high_nibble_counter_1_1
        mov     dptr,#_my_irq_dontcareabout_p1_high_nibble_table_1_1
        movc    a,@a+dptr
        mov     _P1,a
;       output.c:9: counter++;
        inc     _my_irq_dontcareabout_p1_high_nibble_counter_1_1
;       output.c:10: counter %= sizeof table;
        anl     _my_irq_dontcareabout_p1_high_nibble_counter_1_1,#0x03
        pop     psw
        pop     dph
        pop     dpl
        pop     acc
        reti


_my_irq_beniceto_p1_high_nibble:
        push    acc
        push    dpl
        push    dph
        push    ar2
        push    psw
        mov     psw,#0x00
;       output.c:21: P1_mirror &= 0xf0;
        anl     _P1_mirror,#0xF0
;       output.c:22: P1_mirror |= table[counter];
        mov     a,_my_irq_beniceto_p1_high_nibble_counter_1_1
        mov     dptr,#_my_irq_beniceto_p1_high_nibble_table_1_1
        movc    a,@a+dptr
        orl     _P1_mirror,a
;       output.c:23: P1 = P1_mirror;
        mov     _P1,_P1_mirror
;       output.c:24: counter++;
        inc     _my_irq_beniceto_p1_high_nibble_counter_1_1
;       output.c:25: counter %= sizeof table;
        anl     _my_irq_beniceto_p1_high_nibble_counter_1_1,#0x03
        pop     psw
        pop     ar2
        pop     dph
        pop     dpl
        pop     acc
        reti

_my_irq_bitwise:
        push    acc
        push    dpl
        push    dph
        push    ar2
        push    psw
        mov     psw,#0x00
;       output.c:33: P1_0 = (0x01 & table[counter]);
        mov     a,_my_irq_bitwise_counter_1_1
        mov     dptr,#_my_irq_bitwise_table_1_1
        movc    a,@a+dptr
        mov     r2,a
        rrc     a
        mov     _P1_0,c
;       output.c:34: P1_1 = (0x02 & table[counter]);
        mov     a,r2
        mov     c,acc.1
        mov     _P1_1,c
;       output.c:35: P1_2 = (0x04 & table[counter]);
        mov     a,r2
        mov     c,acc.2
        mov     _P1_2,c
;       output.c:36: P1_3 = (0x08 & table[counter]);
        mov     a,r2
        mov     c,acc.3
        mov     _P1_3,c
;       output.c:38: counter++;
        inc     _my_irq_bitwise_counter_1_1
;       output.c:39: counter %= sizeof table;
        anl     _my_irq_bitwise_counter_1_1,#0x03
        pop     psw
        pop     ar2
        pop     dph
        pop     dpl
        pop     acc
        reti
