[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 6502/65c02 undocumented opcode tables ...
- Subject: Re: 6502/65c02 undocumented opcode tables ...
- From: guertinp@IRO.UMontreal.CA (Paul Guertin)
- Date: Wed, 10 Aug 1994 19:58:49 GMT
- Newsgroups: comp.sys.apple2
- Organization: Universite de Montreal, Canada
- References: <3243kb$2t2@harbinger.cc.monash.edu.au> <324c7s$k6p@gap.cco.caltech.edu>
- Sender: news@IRO.UMontreal.CA
In article <324c7s$k6p@gap.cco.caltech.edu>,
nathan@cco.caltech.edu (Nathan Mates) writes:
>In article <3243kb$2t2@harbinger.cc.monash.edu.au>,
>Malcolm Herbert <mjher4@mdw058.cc.monash.edu.au> wrote:
>>I have heard that there is a table somewhere, listing all the 6502 (and
>>possibly the 65c02) undocumented opcodes ... all I know is that one of
>>them had been given the mnemonic of HCF -- Halt and Catch Fire, since
>>that's apparently the sort of thing it does to the CPU, throws it
>>completely out of whack ...
>
> If you thinking of things where undefined opcodes did things like
>"decremet a, and if the result is 5, execute a hard reset", that's the
>domain of the 6510, used in the Commie 64 machines. Sorry, I don't
>have any specs; ask around.
The original 6502 also has undefined upcodes that do strange things.
For instance, $87 is "store the logical AND of A and X zero page".
There is a complete list of such opcodes in the March, 1981 issue
of Apple Assembly Line by Bob Sander-Cederlof.
Paul Guertin
guertinp@iro.umontreal.ca