Re: Re: [stella] Why do we use the SEI instruction???

Subject: Re: Re: [stella] Why do we use the SEI instruction???
From: Dennis Debro <ddebro@xxxxxxxxxxxxx>
Date: Mon, 4 Aug 2003 11:36:35 -0400
Hi Eric,

> Although the 6507 doesn't have NMI or IRQ pins, it's good programming
> practice to have those vectors point somewhere, either the same as RESET or
> an RTI instruction. (And to include an SEI instruction in your
> initialization section.) That way if the 6507 flakes out it won't crash
> horribly.

If you used BRK to jump to a subroutine then I can understand using SEI. But if you just point the IRQ to RESET (which most of us do), then is it needed?

Take care,
Dennis

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread