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
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.