Difference between revisions of "Talk:Detokenising in 6502 machine code"
m (highlighting) |
|||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
The '''P%=''' needs to be ''inside'' the loop, not outside! :) | The '''P%=''' needs to be ''inside'' the loop, not outside! :) | ||
See [http://mdfs.net/Info/Comp/BBC/ProgTips/Detoken DetokenDemo]. | See [http://mdfs.net/Info/Comp/BBC/ProgTips/Detoken DetokenDemo]. | ||
+ | |||
[[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 22:19, 9 March 2015 (UTC) | [[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 22:19, 9 March 2015 (UTC) | ||
+ | |||
+ | Thanks, and oops. | ||
+ | [[User:Lurkio|Lurkio]] |
Latest revision as of 13:30, 11 March 2015
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