home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / intel / 1585 < prev    next >
Encoding:
Text File  |  1992-08-26  |  2.0 KB  |  51 lines

  1. Newsgroups: comp.sys.intel
  2. Path: sparky!uunet!iWarp.intel.com|ichips!intelhf!ichips.intel.com!gweil
  3. From: gweil@ichips.intel.com (Garry A. Weil)
  4. Subject: Re: PLM programming query
  5. Message-ID: <gweil.70.714848331@ichips.intel.com>
  6. Keywords: PLM 8051
  7. Sender: news@intelhf.hf.intel.com (News User)
  8. Nntp-Posting-Host: ventanas.intel.com
  9. Organization: MultiMedia Software Tools Group, Intel Corp.
  10. References: <1992Aug26.093356.6125@canon.co.uk>
  11. Date: Wed, 26 Aug 1992 16:58:51 GMT
  12. Lines: 37
  13.  
  14. In article <1992Aug26.093356.6125@canon.co.uk> chudley@canon.co.uk (Martin Chudley) writes:
  15. >Path: intelhf!ichips!iWarp.intel.com|uunet!pipex!unipalm!uknet!canon.co.uk!chudley
  16. >From: chudley@canon.co.uk (Martin Chudley)
  17. >Newsgroups: comp.sys.intel
  18. >Subject: PLM programming query
  19. >Keywords: PLM 8051
  20. >Message-ID: <1992Aug26.093356.6125@canon.co.uk>
  21. >Date: 26 Aug 92 09:33:56 GMT
  22. >Organization: Canon Research Centre Europe Ltd
  23. >Lines: 16
  24.  
  25. >Apologies for this, it shouldn't be necessary but the PLM manual isn't very
  26. >helpful on this subject.
  27.  
  28. >All I want to do is pass a string to a procedure. At present I'm using the
  29. >dot operator to pass a string constant in the function call and a based variable
  30. >to access it inside the procedure, and I get garbage. Can anyone send a few
  31. >lines of code showing how to do this - maybe I should just fork out for
  32. >something sensible like a C compiler.
  33.  
  34. >Thanks
  35.  
  36. >-- 
  37. >Martin Chudley (Postmaster)
  38.  
  39. >ARPA : chudley@canon.co.uk                              Voice : +44 483 574325
  40. >UUCP : ...seismo!mcsun!uknet!canon!chudley              Fax   : +44 483 574360
  41. I am not sure about this for the 8051, but PLM for x86 the . operator 
  42. returns just a 16-bit pointer. The @ operator returns a 32-bit pointer.
  43. ----------
  44. Garry Weil
  45.  
  46. gweil@ichips.intel.com        After August 30th:gweil@ibeam.intel.com
  47. gweil@garry.intel.com                  gweil@garry.ht.intel.com
  48. garry_weil@ccm.hf.intel.com              garry_weil@htccm2.ht.intel.com
  49. uunet!intelhf!ichips!gweil                        uunet!intelhf!ht!ibeam!gweil
  50.  
  51.