Page 6 of 6

Re: NOOB QUESTION: learning machine code

Posted: Tue Apr 29, 2025 5:04 pm
by NormanDunbar
Thanks Dilwyn.

Unfortunately the bits in the article about A1 being positive, zero or negative on entry to a function should be completely ignored if using SMSQ.

Other than that, it's still relevant.


Cheers,
Norm.

Re: NOOB QUESTION: learning machine code

Posted: Tue Apr 29, 2025 5:32 pm
by ql_freak
NormanDunbar wrote: Tue Apr 29, 2025 6:33 am That codeshouldnt work! You are trashing the arithmetic stack!
Arrggghhhh, one shouldn'1 write code after midnight and some pints of beer. Of course i know that the stack grows downwards (as the processor stack). Thanks for correcting!