Re: [cc65] "jmp (abs)" across page border

From: <silverdr1wfmh.org.pl>
Date: 2013-03-17 22:51:43
On 2013-03-17, at 22:46, Ullrich von Bassewitz wrote:

> 
> On Sun, Mar 17, 2013 at 08:33:28PM +0100, silverdr@wfmh.org.pl wrote:
>> What methods you people use in ca65 to protect from the old JMP bug without
>> wasting too much mem?
> 
> If the linker output file is a binary, it will warn about it, because the
> assembler emits an assertion into the object file. You will get a message like
> 
>        "jmp (abs)" across page border
> 
> So, nothing to worry here. 

I get this warning (I assume it to be an extremely good thing if I understand it correctly!) when emitting a vector table, which in fact is supposed to be used for indirect JMPing. What I understood is that it warns me about the possibility of triggering the old (NMOS) CPU bug that may send my code into lalaland. Am I right here?

-- 
SD!----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Mar 17 22:51:56 2013

This archive was generated by hypermail 2.1.8 : 2013-03-17 22:52:00 CET