<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 02 Dec 2004 21:44:45 +0000 (GMT)
From   : Sprow <info@...>
Subject: Re: ...at line ___

In article <Marcel-1.53-1202201828-06cxSBG@...>,
   Johan Heuseveldt <johan@...> wrote:

> > The next section of code is at &79FE using 50 bytes giving &7A30.
>
> Ah, that could be a clue. The code is wrapping a 256 bytes page border.
> Some opcodes take that into account, some don't.
> So you need to do some checking on that. 

I think you're thinking of JMP(indirect) which on the NMOS 6502 takes a low
byte from one page and the high byte from the 0th byte of the same page the
opcode was in rather than the next when assembled over a page boundary.

JMP absolute shouldn't be an issue,
Sprow.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>