This shows you the differences between two versions of the page.
cc65:the_.org_directive [2010-05-30 19:00] uz created |
cc65:the_.org_directive [2010-06-01 22:24] (current) uz |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== The .ORG directive ====== | ====== The .ORG directive ====== | ||
- | ===== I've ported an assembler program that was originally written for some other assembler. The program uses .ORG to place code at specific addresses. While the program assembles fine with ca65, the code placement does not seem to work.===== | + | ** I've ported an assembler program that was originally written for some other assembler. The program uses .ORG to place code at specific addresses. While the program assembles fine with ca65, the code placement does not seem to work. ** |
Most other assemblers for the 6502 handle .ORG different than ca65. The reason is, that these tools usually do not use a linker. Professional development systems separate the job of the assembler and the linker to gain more flexibility and to implement features not possible with just one tool. | Most other assemblers for the 6502 handle .ORG different than ca65. The reason is, that these tools usually do not use a linker. Professional development systems separate the job of the assembler and the linker to gain more flexibility and to implement features not possible with just one tool. |