fix(buzbee): fix garbled register transfer
This commit is contained in:
@@ -317,7 +317,8 @@ RUNIF
|
|||||||
beq NOTOK@
|
beq NOTOK@
|
||||||
ldx #0 ; Counting up from zero
|
ldx #0 ; Counting up from zero
|
||||||
lda BBVAR.tokens ; Load token
|
lda BBVAR.tokens ; Load token
|
||||||
tfr a,b ; Get the index in D
|
tfr a,d ; Get the index in D
|
||||||
|
clra
|
||||||
asld ; Cheaply << to get *2, pointer size
|
asld ; Cheaply << to get *2, pointer size
|
||||||
tfr d,x ; Move to X so we can use indexed mode with the offset
|
tfr d,x ; Move to X so we can use indexed mode with the offset
|
||||||
jmp [IFPTRTBL,x] ; Select IF
|
jmp [IFPTRTBL,x] ; Select IF
|
||||||
|
Reference in New Issue
Block a user