From 88f6be8a0fd7ce5dc835b8802a354196839907bd Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Sat, 23 Jan 2021 18:30:01 +0100 Subject: [PATCH] MONITOR assembly bugfix --- src/mon_m65/bsmon.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mon_m65/bsmon.s b/src/mon_m65/bsmon.s index 38d79e88..e5a23d4b 100644 --- a/src/mon_m65/bsmon.s +++ b/src/mon_m65/bsmon.s @@ -587,7 +587,7 @@ Mon_Assemble: STA Addr_Mode JSR Got_Val_To_LAC BEQ @labg ; no operand - LDA Mode_Flags + LDA Addr_Mode LBNE Mon_Error ; -> overflow LDY #2 ; Y=2 word operand LDA Long_AC+1 @@ -600,8 +600,7 @@ Mon_Assemble: TXA ; A = current index BNE @labg ; -> at 2nd. byte JSR LAC_To_LCT ; Long_CT = 1st. operand -@labg DEC Buf_Index ; back to delimiter - +@labg @lpnop JSR Get_Char ; get delimiter LBEQ @adjust ; end of operand CMP #' '