Menu

#65 Always use labels in code instead of defining equates pointing to the code

3.0
open
None
1
2015-04-26
2015-04-26
Eric Bacher
No

The previous version could produce an equates (L1001) because the address $1001 is not aligned with the start of an instruction
L1001 = $1001
*= $1000
L1000 LDA #0
STA L1001

The correct disassembly would be to get
*= $1000
L1000 LDA #0
STA L1000+1

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.