home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / electron / 15041 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  2.1 KB

  1. Path: sparky!uunet!gatech!prism!cchapman.gatech.edu!cchapman
  2. From: cchapman@matd.gatech.edu (Charles H. Chapman)
  3. Newsgroups: sci.electronics
  4. Subject: Re: M68HC11 info needed
  5. Message-ID: <cchapman.134.715285782@matd.gatech.edu>
  6. Date: 31 Aug 92 18:29:42 GMT
  7. References: <keb2oo600UhWE8=LEa@andrew.cmu.edu> <1992Aug29.045135.11282@ee.ubc.ca>
  8. Sender: news@prism.gatech.EDU
  9. Organization: Georgia Institute of Technology
  10. Lines: 31
  11.  
  12. In article <1992Aug29.045135.11282@ee.ubc.ca> jmorriso@ee.ubc.ca (John Paul Morrison) writes:
  13. >In article <keb2oo600UhWE8=LEa@andrew.cmu.edu> hk0w+@andrew.cmu.edu (Hanjoon Alex Kim) writes:
  14. >>I have no idea what kind of responses I'll get, since this is my first posting.
  15. >>I am currently working on a project which involves the Motorola 68HC11.
  16. >>Now, I ran into a problem with the Mac. The Mac C compiler for the 68HC11 that
  17. >>I have does not like to divide numbers or deal with floating points. And, 
  18. >>being a student, I don't have the money to buy a compiler that does. Do you
  19. >>know of any solutions to my problem? Maybe a cheap (~$20) compiler out there
  20. >>for the Mac? Or a way around my problem?
  21. >
  22. >The MC68HC11xx series has no math instructions, so the compiler wont do them.
  23. >Someone already sugested calling the Motorola Freeware BBS.
  24. >
  25. >If you have the money for yet another more expensive 6811, you can check
  26. >out the MC68HC711 series (I think it's 711) which has built in math instuctions.
  27. >
  28.  
  29. Huh??  What is your definition of math instructions?  The 68HC11 has add,
  30. subtract, multiply (and maybe divide, too.  I can't remember) instructions.
  31. These are all integer only instructions but you can certainly use them
  32. as the building blocks for complete floating point libraries.  Heck, I
  33. can run Quick Basic on my 8088 PC with no coprocessor and do all kinds of
  34. transcendental math functions and the 8088 has the same class of math
  35. instructions as the 68HC11, although it uses 16 bits instead of 8.
  36.  
  37. Chuck
  38.  
  39. Charles H. Chapman  (GTRI/MATD)             (404) 528-7588
  40. Georgia Institute of Technology, Atlanta Georgia, 30332
  41. uucp:     ...!{allegra,amd,hplabs,ut-ngp}!gatech!matd!cchapman
  42. Internet: cchapman@matd.gatech.edu
  43.