X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=tests%2Ftimer0.asm;h=d9328b065e919a5c1422684a6f3d5cbb1a334cec;hb=121bcb38f29409f10de63a68d86620c4beb75c97;hp=11a8227f33dfb4833a02a384bc8a75b08bf4a05c;hpb=091899a37a61b19269a9c726ee2f10565d537349;p=emu8051.git 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