[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Appl //c Basic
Stephen Shaw <xstephenx@apple2.org.za> wrote:
> On Sun, 1 Jul 2001 23:00:22 +1000, Mark Cummings wrote:
>
> >> You can't make the reset do nothing - it has to jump somewhere.
> >
> > jump - fair enough, do nothing - depends on your definition. a BRA #$FE
> > would do virtually nothing, at least not as far as the user is concerned.
>
> What about branching to $EA. If I remember that is a NOP (no operation) in
> 6502 machine language?
I assume you mean jumping to a memory location containing an $EA (NOP)
instruction. That wouldn't achieve anything - it would just carry on
with the following instruction.
NOP means "do nothing and then carry on with the next instruction", not
"stop execution". (The latter would be a HALT instruction, if the 6502
had one, but it doesn't.)