home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4886 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.8 KB

  1. Xref: sparky comp.lang.pascal:4886 comp.lang.c:12431 comp.lang.c++:12432
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!network.ucsd.edu!mvb.saic.com!unogate!beckman.com!dn66!a_rubin
  3. Newsgroups: comp.lang.pascal,comp.lang.c,comp.lang.c++
  4. Subject: Re: Pascal to C and Assembly
  5. Message-ID: <a_rubin.714071779@dn66>
  6. From: a_rubin@dsg4.dse.beckman.com (Arthur Rubin)
  7. Date: 17 Aug 92 17:16:19 GMT
  8. References: <1992Aug7.164932.15243@cs.mun.ca>
  9. Nntp-Posting-Host: dn66.dse.beckman.com
  10. Lines: 31
  11.  
  12. In <1992Aug7.164932.15243@cs.mun.ca> jodyc@garfield.cs.mun.ca (Jody R. Cairns) writes:
  13.  
  14.  
  15. >Hello folks,
  16.  
  17. >  I have a request: could someone please translate the following Turbo Pascal
  18. >  code to C and assembly language. I'd like the C version to be compatible 
  19. >  with both Borland's and Microsoft's compilers, and the assembly version to
  20. >  be compatible with Borland's TASM and Microsoft's MASM.  I realize the
  21. >  assembly language is a bit much, so I don't expect to get that anytime
  22. >  soon (if at all).
  23.  
  24. >  Please e-mail source code to: jodyc@cs.mun.ca
  25.  
  26. [Code ommited.]
  27.  
  28. Actually, assemply is not difficult if quoted strings are to be ignored, rather than
  29. being handled in the same manner C (or Pascal) would process them; but....
  30.  
  31. (1)  This is the wrong group for that sort of thing; try
  32. comp.os.msdos.programmer, and
  33.  
  34. (2)  I don't have time to write such a program, especially since the C (or,
  35. for that matter, Pascal) program should be small and fast enough that there
  36. is really no reason to write it in assembly.
  37.  
  38. --
  39. Arthur L. Rubin: a_rubin@dsg4.dse.beckman.com (work) Beckman Instruments/Brea
  40. 216-5888@mcimail.com 70707.453@compuserve.com arthur@pnet01.cts.com (personal)
  41. My opinions are my own, and do not represent those of my employer.
  42. My interaction with our news system is unstable; if you want to be sure I see a post, mail it.
  43.