From 96a44157eb029d3ad76833c847e5ab948b536d2e Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 1 Dec 2013 23:31:51 -0500 Subject: [PATCH] Replace CALL by LCALL for compatibility with AS31 and AS504 assemblers --- tests/timer0.asm | 4 ++-- tests/timer1.asm | 4 ++-- tests/timer2.asm | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 -- 2.20.1