PASM - "res" Initializations Go at the End?
Lombard
Posts: 30
I had a bug in a program I'm writing with PASM, which turned out to be that declarations such as
horses res 1 'to be initialized latermust be the final statements of the PASM block. Am I right in this observation? If so, out of curiosity, why is that?
Comments
My understanding (it's someplace in the manual) is that they just advance the address offset and don't actually allocate space like long/word/byte do.
Imagine that!! It's amazing what you can find when you read the manuals!! (don't worry, it's an inside joke) Someone who spent a lot of time writing that just breathed a sigh of relief when you read it!