Date : Fri, 02 Sep 1994 10:56:20 WET DST
From : Bonfield James <jkb@...>
Subject: Re: 6502/65c02 op-codes
D.LODGE writes:
>WHat I want t'know is is there anybody with a list of any 'hidden' op-codes or
>who know the opcodes for 65SC02/anyother deriveratives...
There's a document floating around regarding the hidden opcodes on the
commodore 64 6510 processor. It claims that many of these are also 6502
opcodes, but I tested these on the beeb and this is most definitely not true
(at least not in my one). My copy claims to be "part of the Commodore 64
emulator and Program Development System". The name of the file is 64doc.
Did you mean 65SC02? Or did you mean the 65SC02?
I've now got (thanks Stephen Y.) the Rockwell CMOS data sheets for the 65C02,
the 65C102 and the 65C112 chips. It implies they all have the same supported
opcodes (unlike the NAUG does) and have 2 extra (well, 16 actually) - SMB and
RMB for setting and resetting particular bits (zero page addressing mode
only).
It'd be interesting to know of your source for the 65C02 opcodes.
>I have got a 6502 disassembler which I wrote (with a friend) - I hacked up the
>basic disassembler in 1 hour (that time was due to making the look-up table :)
If anyone is interesting in a 6502 disassembler then I've got the guts of one
in my own emulator. I have a function that takes start and end parameters, and
it disassembles all the data inbetween. It's not super intelligent to spot
data and 'frame shifts', but it does work adequately. The bonus though is that
it's free.
James