;** The reload definition factors in how long the timer is stopped to perform
;*  the dynamic reload operation.
;**
RELOAD          EQU     -(9216-7)       ; -((11059200/12/100)-7) = 10ms

Timer0_ISR:
        PUSH    ACC
        PUSH    PSW

        CLR     EA
        CLR     TR0                     ; 1
        MOV     A,TL0                   ;   1
        ADD     A,#LOW RELOAD           ;   1
        MOV     TL0,A                   ;   1
        MOV     A,TH0                   ;   1
        ADDC    A,#HIGH RELOAD          ;   1
        MOV     TH0,A                   ;   1
        SETB    TR0                     ;   1 = 7~ timer reload compensation.
        SETB    EA                      ; 1+1 = 9~ latency added to high
                                        ;          priority interrupts.
        POP     PSW
        POP     ACC
        RETI
