NOOB QUESTION: learning machine code

Anything QL Software or Programming Related.
User avatar
NormanDunbar
Forum Moderator
Posts: 2481
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: NOOB QUESTION: learning machine code

Post 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.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
ql_freak
Super Gold Card
Posts: 502
Joined: Sun Jan 18, 2015 1:29 am

Re: NOOB QUESTION: learning machine code

Post 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!


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
Post Reply