From c011e5ba3e794d9325173ad3b374e89c80ed414c Mon Sep 17 00:00:00 2001 From: Zeda Thomas Date: Fri, 27 Dec 2019 16:13:21 -0500 Subject: [PATCH] Fixed bug with raw() command, one of the to-dos of issue #1 --- src/parsnip.z80 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parsnip.z80 b/src/parsnip.z80 index 25d8ddb..7677e79 100644 --- a/src/parsnip.z80 +++ b/src/parsnip.z80 @@ -932,7 +932,7 @@ eval_raw: push hl call pop_end_of_params pop de - ld hl,(operandstack_ptr) +; ld hl,(operandstack_ptr) push hl call ConvHex pop bc @@ -1544,14 +1544,14 @@ pop_operand: pop_to_variable_size: ex de,hl + ld a,c dec hl - ld e,a ld b,(hl) dec hl ld c,(hl) or a sbc hl,bc - ld a,e + ld (operandstack_ptr),hl ex de,hl ret