Taqoz Reloaded 2.8 - How to append a wordcode
perhaps someone can point me to a solution here. I have been trying for a long time...
' endloc := endlocCFA pre (;) endlocCFA [C] || ; : myword1 (;) nop nop ; : myword2 (;) nop nop (;) ;
TAQOZ# see myword1 1B8A8: pub myword1 0B49A: ADA4 endloc 0B49C: 2062 NOP 0B49E: 2063 NOP ; ( 6 bytes ) --- ok TAQOZ# see myword2 1B89E: pub myword2 0B4A0: ADA4 endloc 0B4A2: ADA5 endloc ;
So if I use my immediate word (;) at the beginning of the code, it works as intended and compiles the normal word endloc into the code. If I use it a second time at the end of the code, it overwrites the other code. It is like the code pointer is not getting advanced.
A related question: What is the difference between HERE and @CODE?
Thanks for some hints!