aboutsummaryrefslogtreecommitdiffstats
path: root/data/bacldr.asm
diff options
context:
space:
mode:
Diffstat (limited to 'data/bacldr.asm')
-rw-r--r--data/bacldr.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/data/bacldr.asm b/data/bacldr.asm
index 2a232c1..d75f7d2 100644
--- a/data/bacldr.asm
+++ b/data/bacldr.asm
@@ -6,11 +6,10 @@ LOAD: equ 0xdddd ; Load address
ENTRY: equ 0xbbbb
ld hl,(BOFA)
- ld de,offset
- add hl,de
+ ld bc,offset ; offset <= 255
+ add hl,bc
ld de,LOAD
- ld b,0
; Get data block length
loop: