Talk:6502 assembly optimisations
From NESdev Wiki
Jump to navigationJump to search
Examples
Split word tables in high and low components
This optimisation is not human friendly, makes the source code much bigger, but still makes the compiled size smaller and faster:
One doesn't compile assembly language programs. They are assembled. Please use correct terminology so those of us who know the difference between assembling and compiling programs don't dismiss this article as the work of a dilettante.
PointerTable .dw Pointer1, Pointer2, ....
The .dw pseudo-op is non-standard syntax that should not be used in code examples. Best if examples stick to official MOS Technology syntax and pseudo-ops, such as:
pointertable .byte pointer1, pointer2, ...