🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.intel
Article #526

Re: PLM programming query

#526
From: Garry A. Weil
Date: Wed, 26 Aug 1992 16:58
36 lines
2055 bytes
In article <1992Aug26.093356.6125@canon.co.uk> chudley@canon.co.uk (Martin Chudley) writes:
>Path: intelhf!ichips!iWarp.intel.com|uunet!pipex!unipalm!uknet!canon.co.uk!chudley
>From: chudley@canon.co.uk (Martin Chudley)
>Newsgroups: comp.sys.intel
>Subject: PLM programming query
>Keywords: PLM 8051
>Message-ID: <1992Aug26.093356.6125@canon.co.uk>
>Date: 26 Aug 92 09:33:56 GMT
>Organization: Canon Research Centre Europe Ltd
>Lines: 16

>Apologies for this, it shouldn't be necessary but the PLM manual isn't very
>helpful on this subject.

>All I want to do is pass a string to a procedure. At present I'm using the
>dot operator to pass a string constant in the function call and a based variable
>to access it inside the procedure, and I get garbage. Can anyone send a few
>lines of code showing how to do this - maybe I should just fork out for
>something sensible like a C compiler.

>Thanks

>-- 
>Martin Chudley (Postmaster)

>ARPA : chudley@canon.co.uk                              Voice : +44 483 574325
>UUCP : ...seismo!mcsun!uknet!canon!chudley              Fax   : +44 483 574360
I am not sure about this for the 8051, but PLM for x86 the . operator 
returns just a 16-bit pointer. The @ operator returns a 32-bit pointer.
----------
Garry Weil

gweil@ichips.intel.com		After August 30th:gweil@ibeam.intel.com
gweil@garry.intel.com				  gweil@garry.ht.intel.com
garry_weil@ccm.hf.intel.com			  garry_weil@htccm2.ht.intel.com
uunet!intelhf!ichips!gweil                        uunet!intelhf!ht!ibeam!gweil
Technical Details
Message-ID: <gweil.70.714848331@ichips.intel.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!iWarp.intel.com|ichips!intelhf!ichips.intel.com!gweil
References: <1992Aug26.093356.6125@canon.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.intel
Path: arc1-ca.pugleaf.net!sparky!uunet!iWarp.intel.com|ichips!intelhf!ichips.intel.com!gweil
From: gweil@ichips.intel.com (Garry A. Weil)
Subject: Re: PLM programming query
Message-ID: <gweil.70.714848331@ichips.intel.com>
Keywords: PLM 8051
Sender: news@intelhf.hf.intel.com (News User)
Nntp-Posting-Host: ventanas.intel.com
Organization: MultiMedia Software Tools Group, Intel Corp.
References: <1992Aug26.093356.6125@canon.co.uk>
Date: Wed, 26 Aug 1992 16:58:51 GMT
Lines: 37