ORG
ORG
ORG - memory address of the beginning of compiled code
Description
ORG declares the starting place for a 6502 assembler to begin compiling. The place is declared as a hexadecimal memory address. On most computers using a 6502, you will want to start at least at memory address $200 to preserve the zero page RAM.
ORG is not traditionally part of 6502 assembly, however, some assemblers support it.
Examples
Example of Use
.ORG $200
page revision: 6, last edited: 15 Jul 2012 05:37