Talk:Detokenising in 6502 machine code
I tried to make a listing (below) out of the code and run it in BeebEm, but it just prints out "128: AND" and then hangs. What am I doing wrong? Apologies if it's something incredibly obvious.
5 tbase=&70:tptr=&72:OSWRCH=&FFEE 10 P%=&4000:FORV%=0TO3STEP3:[ 20 OPT V%
Lurkio (talk) 20:52, 9 March 2015 (UTC)
The P%= needs to be inside the loop, not outside! :) See DetokenDemo.
Jgharston (talk) 22:19, 9 March 2015 (UTC)
Thanks, and oops. Lurkio