From b0eb1dcb5192e07e56d28c6f673e1b155d60348e Mon Sep 17 00:00:00 2001 From: kvigor Date: Fri, 11 May 2001 05:22:20 +0000 Subject: [PATCH] how the heck did this ever work? git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@798 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/lib/ds390/memcpyx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/device/lib/ds390/memcpyx.c b/device/lib/ds390/memcpyx.c index c298997b..66e7ea7c 100644 --- a/device/lib/ds390/memcpyx.c +++ b/device/lib/ds390/memcpyx.c @@ -18,7 +18,7 @@ _asm push dph push dpl - mov dps, #1 ; Alternate DPTR. + mov dps, #0x1 ; Alternate DPTR. ; count is in _memcpyx_PARM_3 mov dptr, #_memcpyx_PARM_3 @@ -42,9 +42,9 @@ _asm pop dpl1 #ifdef AUTO_TOGGLE - mov dps, #21 ; Current DPTR is alt DPTR, toggle after each op. + mov dps, #0x21 ; Current DPTR is alt DPTR, toggle after each op. #else - mov dps, #0 ; Current DPTR is normal DPTR, no toggle. + mov dps, #0x0 ; Current DPTR is normal DPTR, no toggle. #endif ; src is in alt DPTR, dst is in normal DPTR, count is in r2/r3. @@ -56,7 +56,7 @@ _asm ; increment r3 if r2 != 0 (makes djnz end-of-loop sequence possible). inc r3 - cjne r2, #0, _memcpyx_loopTop + cjne r2, #0x0, _memcpyx_loopTop dec r3 _memcpyx_loopTop: @@ -81,7 +81,7 @@ _memcpyx_loopTop: _memcpy_done: #ifdef AUTO_TOGGLE - mov dps, #0 + mov dps, #0x0 #endif pop dpl -- 2.30.2