home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / atari / 8bit / 3823 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!mtu.edu!mtus5!jjmcwill
  2. Organization: Computing Technology Services, Michigan Technological Univ.
  3. Date: Thursday, 23 Jul 1992 21:07:51 EST
  4. From: Jeff McWilliams <JJMCWILL@MTUS5.BITNET>
  5. Message-ID: <92205.210751JJMCWILL@MTUS5.BITNET>
  6. Newsgroups: comp.sys.atari.8bit
  7. Subject: Re: Writing A Disassembler
  8. References: <Jim_Johnson.05tp@abcd.Houghton.MI.US>
  9.  <Jul.23.10.46.32.1992.6718@electron.rutgers.edu>
  10. Lines: 58
  11.  
  12.  
  13. In article <Jul.23.10.46.32.1992.6718@electron.rutgers.edu>,
  14. chase@electron.rutgers.edu (Kevin Chase) says:
  15. >
  16. >Actually, according to the manual I have, it only supports things like
  17. >STZ, ADC (ZP), and a few others.  It does not implement the BBS 0-7,branch
  18. >or the BBR, or TSB, TRB opcodes.  I have a hacked version of ra65 which
  19. >supports these, but I have never tested my additions.  (I added the feature
  20. >less than a month ago).
  21.  
  22. According to my manual, which is revision 1.2, and comes paper
  23. bound with 3 holes in its edges, and a yellow cart., MAC/65
  24. supports the following:
  25.  
  26. Indirect addressing, via  LDA (indirect)
  27.  
  28. which is the same as      LDY #0
  29.                           LDA (indirect),Y
  30.  
  31. the BIT instruction has two new modes,
  32.  
  33. BIT absolute,X
  34. BIT zeropage,X
  35.  
  36. and adds    JMP (indirect,X)   as well.
  37.  
  38. further, new OPCODES are supported:
  39.  
  40. BRA, DEA,  INA, PHX, PHY, PLX, PLY, STZ, TRB and TSB
  41.  
  42. Note:  There are two different 65C02 processors, the one mentioned and
  43. supported by MAC/65 is made by NCR.  Well, according to "Programming
  44. the 65816, including the 6502, 65C02, and 65802" this chip is
  45. originally from WDC.
  46.  
  47. Rockwell made a different 65C02, with different instructions and
  48. enhancements, as follows:
  49.  
  50. BBR Branch if Bit Reset
  51. BBS Branch if Bit Set
  52. RMB Reset memory bit
  53. SMB Set memory bit
  54.  
  55. The Rockwell R65C02 also supports the NCR or WDC 65C02 instructions
  56. and addressing modes, making the R65C02 instruction set a superset
  57. of the W65C02.  So, actually your presumption that MAC/65 doesn't
  58. support the 65C02 fully is incorrect, it just depends on what
  59. 65C02 you are talking about!
  60.  
  61.  
  62. Jeff McWilliams
  63. jjmcwill@mtus5.cts.mtu.edu
  64.  
  65. Hige sceal pe heardra, herote pe cenre,
  66. mod sceal pe mare, pe ure maegen lytlad
  67.  
  68. Courage must be the firmer, heart the bolder,
  69. spirit the greater, the more our force diminishes.
  70.