Re: [cc65] da65 .org

From: Greg King <gngking1erols.com>
Date: 2004-04-19 21:29:32
From: MagerValp; on Date: Monday, April 19, 2004, at 11:20 AM
>
>>>>>> "UvB" == Ullrich von Bassewitz <uz@musoftware.de> writes:
>
> UvB> So the new feature would just enclose the code into .org and
> UvB> .reloc statements?
>
> And, emit labels in the correct places for jumps etc.  E.g., L0200 will
> show up as a "loose" label at the top of the disassembly instead of
> inside the .org/.reloc.

But, what if you need to jump back to the beginning of your relocated code?
That is:

    .org $200
L0200:
    ...
    ... some code ...
    dec L02ae
    bne L0200
    ...

L02ae:
    .res 1
    ...
    ... some variables ...
    ...
    .reloc

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Apr 19 21:31:21 2004

This archive was generated by hypermail 2.1.8 : 2004-04-19 21:32:01 CEST