From 30bf0f51335e87812ffeb54e9437f0b6a1514d67 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 6 Sep 2022 07:37:20 +0100 Subject: Updated rasm to 1.7 --- tools/rasm/decrunch/dzx7_turbo.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/rasm/decrunch/dzx7_turbo.asm') diff --git a/tools/rasm/decrunch/dzx7_turbo.asm b/tools/rasm/decrunch/dzx7_turbo.asm index 779ced5..cb66be5 100644 --- a/tools/rasm/decrunch/dzx7_turbo.asm +++ b/tools/rasm/decrunch/dzx7_turbo.asm @@ -8,7 +8,7 @@ ; ----------------------------------------------------------------------------- dzx7_turbo: - ld a, $80 + ld a, #80 dzx7t_copy_byte_loop: ldi ; copy literal byte dzx7t_main_loop: @@ -42,7 +42,7 @@ dzx7t_len_value_start: ; determine offset ld e, (hl) ; load offset flag (1 bit) + offset value (7 bits) inc hl - defb $cb, $33 ; opcode for undocumented instruction "SLL E" aka "SLS E" + defb #cb, #33 ; opcode for undocumented instruction "SLL E" aka "SLS E" jr nc, dzx7t_offset_end ; if offset flag is set, load 4 extra bits add a, a ; check next bit call z, dzx7t_load_bits ; no more bits left? -- cgit v1.2.3