KermMartian wrote:
Quote:
What a surprise it still work even if the memory location is moved 4 bytes in advance. Need to learn how it still work now!
The items that would be off by 4 bytes are: absolute jump targets (jp), call targets within the program (call), and memory addresses of constants and variables within the program (e.g. your str1 and str2). Straight-line code or code that only uses relative jumps (jr) is relocatable, a fact that some programs take advantage of!


Thanks. All good. In fact I moved to dcse8 sdk, other than somehow unlike dcse7 sdk compile.sh which can proper generate the filename based on H4OK.asm to H4OK.8xp, the dcse8 sdk compile generate ZZTEMP ... and some minor adjustment to the shell program (the .inc location is not right). See my other posts.

All good. Thanks again.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement