From: Hugo Villeneuve Date: Mon, 2 Dec 2013 04:31:51 +0000 (-0500) Subject: Replace CALL by LCALL for compatibility with AS31 and AS504 assemblers X-Git-Tag: v2.0.0~34 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=96a44157eb029d3ad76833c847e5ab948b536d2e;p=emu8051.git Replace CALL by LCALL for compatibility with AS31 and AS504 assemblers --- diff --git a/tests/timer0.asm b/tests/timer0.asm index 11a8227..d9328b0 100644 --- a/tests/timer0.asm +++ b/tests/timer0.asm @@ -25,7 +25,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 @@ -38,7 +38,7 @@ TOS EQU 60h ; Adresse du dessus de la pile. MOV TL0,#01h ; Set initial value of timer0 to $F001 MOV Th1,#0FFh MOV TL1,#03h ; Set initial value of timer1 to $FF03 - CALL DELAY + LCALL DELAY LJMP 0FFF0h diff --git a/tests/timer1.asm b/tests/timer1.asm index 2efed18..fda3a31 100644 --- a/tests/timer1.asm +++ b/tests/timer1.asm @@ -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 diff --git a/tests/timer2.asm b/tests/timer2.asm index ab47b26..2a8d579 100644 --- a/tests/timer2.asm +++ b/tests/timer2.asm @@ -26,7 +26,7 @@ TOS EQU 60h ; Adresse du dessus de la pile. MOV TH1,#0F4h ; Reload value MOV TL0,#00h ; Set initial value of timer0 MOV TL1,#28h ; Set initial value of timer1 - 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. ;; Second test: overflow MOV TL0,#0F0h ; Set initial value of timer0 MOV TL1,#0EFh ; Set initial value of timer1 - CALL DELAY + LCALL DELAY LJMP 0FFF0h