Replace CALL by LCALL for compatibility with AS31 and AS504 assemblers
[emu8051.git] / tests / timer1.asm
index 2efed18..fda3a31 100644 (file)
@@ -24,7 +24,7 @@ TOS     EQU     60h     ; Adresse du dessus de la pile.
         ;;  First test: no overflow
        MOV     TH0,#2
        MOV     TL0,#55h        ; Set initial value of timer0 to $0255
-        CALL    DELAY
+        LCALL   DELAY
 
         MOV     00h, TH0         ; Save value of timer 0
         MOV     01h, TL0
@@ -37,7 +37,7 @@ TOS     EQU     60h     ; Adresse du dessus de la pile.
        MOV     TL0,#98h        ; Set initial value of timer0 to $F098
        MOV     Th1,#0FFh
        MOV     TL1,#00h        ; Set initial value of timer1 to $FF00
-        CALL    DELAY
+        LCALL   DELAY
 
         LJMP    0FFF0h