home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!mtu.edu!mtus5!jjmcwill
- Organization: Computing Technology Services, Michigan Technological Univ.
- Date: Thursday, 23 Jul 1992 21:07:51 EST
- From: Jeff McWilliams <JJMCWILL@MTUS5.BITNET>
- Message-ID: <92205.210751JJMCWILL@MTUS5.BITNET>
- Newsgroups: comp.sys.atari.8bit
- Subject: Re: Writing A Disassembler
- References: <Jim_Johnson.05tp@abcd.Houghton.MI.US>
- <Jul.23.10.46.32.1992.6718@electron.rutgers.edu>
- Lines: 58
-
-
- In article <Jul.23.10.46.32.1992.6718@electron.rutgers.edu>,
- chase@electron.rutgers.edu (Kevin Chase) says:
- >
- >Actually, according to the manual I have, it only supports things like
- >STZ, ADC (ZP), and a few others. It does not implement the BBS 0-7,branch
- >or the BBR, or TSB, TRB opcodes. I have a hacked version of ra65 which
- >supports these, but I have never tested my additions. (I added the feature
- >less than a month ago).
-
- According to my manual, which is revision 1.2, and comes paper
- bound with 3 holes in its edges, and a yellow cart., MAC/65
- supports the following:
-
- Indirect addressing, via LDA (indirect)
-
- which is the same as LDY #0
- LDA (indirect),Y
-
- the BIT instruction has two new modes,
-
- BIT absolute,X
- BIT zeropage,X
-
- and adds JMP (indirect,X) as well.
-
- further, new OPCODES are supported:
-
- BRA, DEA, INA, PHX, PHY, PLX, PLY, STZ, TRB and TSB
-
- Note: There are two different 65C02 processors, the one mentioned and
- supported by MAC/65 is made by NCR. Well, according to "Programming
- the 65816, including the 6502, 65C02, and 65802" this chip is
- originally from WDC.
-
- Rockwell made a different 65C02, with different instructions and
- enhancements, as follows:
-
- BBR Branch if Bit Reset
- BBS Branch if Bit Set
- RMB Reset memory bit
- SMB Set memory bit
-
- The Rockwell R65C02 also supports the NCR or WDC 65C02 instructions
- and addressing modes, making the R65C02 instruction set a superset
- of the W65C02. So, actually your presumption that MAC/65 doesn't
- support the 65C02 fully is incorrect, it just depends on what
- 65C02 you are talking about!
-
-
- Jeff McWilliams
- jjmcwill@mtus5.cts.mtu.edu
-
- Hige sceal pe heardra, herote pe cenre,
- mod sceal pe mare, pe ure maegen lytlad
-
- Courage must be the firmer, heart the bolder,
- spirit the greater, the more our force diminishes.
-