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%
The P%= needs to be inside the loop, not outside! :) See DetokenDemo.
Thanks, and oops. Lurkio