home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp48 / 7217 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.5 KB  |  46 lines

  1. Newsgroups: comp.sys.hp48
  2. Path: sparky!uunet!spool.mu.edu!agate!ames!pacbell.com!iggy.GW.Vitalink.COM!nocsun.NOC.Vitalink.COM!wetware!jack!nvcc!news
  3. From: robdoss@harrier (Robert C. Doss)
  4. Subject: C compiler for HP48
  5. Message-ID: <C15xss.1H6@nvcc.uucp>
  6. Sender: news@nvcc.uucp
  7. Reply-To: robdoss%nvcc.uucp@groucho.sonoma.edu
  8. Organization: Napa Valley College
  9. Date: Wed, 20 Jan 1993 17:26:51 GMT
  10. Lines: 34
  11.  
  12.     I was recently showing my HP48 to our network system administrator  
  13. Chris Osborn.  He asked me if it were possible to program in assembly  
  14. language on the HP48.  When I told him that I did not know I began to do  
  15. some research on the subject.  A few days later, after I discovered that  
  16. it was indeed possible to program in assembly language on the HP48, I told  
  17. Chris of my discovery.  He then said something to me that really hit home  
  18. and is the reason why I am posting this article.  He said that because we  
  19. can program in assembly language on the HP48, it could be possible to  
  20. write a C compiler.
  21.     It never dawned on me before, but it seems possible that there  
  22. should be a way to write a C compiler for the HP48.  Are there any C  
  23. compilers out there for the HP48 ?  If not are there any programmers up to  
  24. writing a C compiler for the HP48 ?  I myself could not even begin to  
  25. write such a program.  I would not know exactly what form a C compiler  
  26. would take.  I suppose it is possible to have the compiler in a library  
  27. card that would take C text from the stack and compile it.  Of course it  
  28. is probably equally feasible to conceive an interactive C developer for  
  29. the HP48 on a PC where the programmer types in the source code into an  
  30. ASCII text file and the compiler would then assemble it and sent it to the  
  31. HP48 as a binary transmission.  Either method would considerably make  
  32. programming on the HP48 significantly easier.  And if a C compiler could  
  33. be written, compilers for other languages such as FORTRAN, Pascal, BASIC,  
  34. etc. could conceivably also be written.  Because of vast number of  
  35. programs that have been written in any of these languages, the number of  
  36. available programs on the HP48 would significantly improve.
  37.     I would like to hear any ideas and comments you might have on this  
  38. subject.  Please feel free to E-mail me at the address below.  Also keep  
  39. in mind that this is my first article I have ever posted on any newsgroup;  
  40. so please excuse any mistakes I may have made in newsgroup protocol.
  41.  
  42. --
  43. Robert C. Doss, Engineering Student
  44. Napa Valley College
  45. robdoss%nvcc.uucp@groucho.sonoma.edu  NeXTmail ok
  46.