home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / compiler / 2066 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!world!iecc!compilers-sender
  3. From: tm@netcom.com (Toshiyasu Morita)
  4. Subject: Difficult CPU architectures
  5. Reply-To: tm@netcom.com (Toshiyasu Morita)
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. Date: Wed, 23 Dec 1992 07:41:36 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <92-12-098@comp.compilers>
  10. Keywords: architecture, question, comment
  11. Sender: compilers-sender@iecc.cambridge.ma.us
  12. Lines: 26
  13.  
  14.  
  15. I've yet to see a good 65816 C compiler and I was kind of wondering why...
  16.  
  17. Does the fact that it has only a single accumulator and two index
  18. registers contribute significantly to the difficulty in generating good
  19. code? Or perhaps the fact that all CPU registers are 16-bit, and the
  20. address bus is 24-bits wide, and various addressing methods must be used
  21. to span the entire 16 meg addressing range? Or maybe because of the
  22. non-orthogonal CPU architecture where most of the addressing modes are
  23. usable with one or the other index register, but not both? Or maybe
  24. because the CPU has a "bank register" which controls the upper addressing
  25. bits in certain addressing modes? Or maybe because certain addressing
  26. modes only work on the first 64k of memory? Maybe the lack of hardware
  27. multiply and divide instructions?
  28.  
  29. Any and all replies appreciated - thanks in advance.
  30.  
  31.  
  32. Toshi Morita
  33. tm@netcom.com
  34. [I'd attribute it more to the relatively small number of customers for a
  35. 65816 compiler.  The Intel '86 line is nearly as difficult to compile for,
  36. but there are plenty of compilers anyway. -John]
  37. -- 
  38. Send compilers articles to compilers@iecc.cambridge.ma.us or
  39. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  40.