Re: [cc65] Problems with ORG directive and linker

From: Groepaz <groepaz1gmx.net>
Date: 2011-03-30 14:56:13
On Mittwoch 30 März 2011, you wrote:

> So, I am probably doing something stupid here. Who can help out?

its the typical ".org doesnt do what you expect" problem =)

.org *only* changes the relative pc-offset of the code to be assembled - it 
does NOT change the absolute address where the code is going to end up.

if you are familiar with TASS on the c64, .org in ca65 works like .offs in 
TASS (check the docs for details).

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Gleich ab nach Guantanamera und einsperren diese Erbrecher. Die bedrohen die 
freie Marktwissenschaft. Sollen lieber selber mal was erwickeln.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Mar 30 14:56:27 2011

This archive was generated by hypermail 2.1.8 : 2011-03-30 14:56:30 CEST