We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fafef6 commit 22af491Copy full SHA for 22af491
1 file changed
src/vars.asm
@@ -221,18 +221,18 @@ exit_2:
221
lda #0
222
sta (var), y
223
224
- ; Copy name of var/label
+ ; Copy name of var/label, last byte with high bit set
225
dey
226
- lda (name),y
227
- eor #$80
+ lda #$80
228
loop:
+ ora (name),y
229
sta (var),y
230
+ lda #0
231
- bmi end
232
233
bpl loop
234
235
end: rts
236
.endproc
237
238
; vi:syntax=asm_ca65
+;
0 commit comments