Article View: comp.sys.atari.st
Article #33176Re: Memory Access in Modula 2
From: Michael Schmidt
Date: Thu, 07 Jul 1988 12:41
Date: Thu, 07 Jul 1988 12:41
16 lines
1068 bytes
1068 bytes
In article <3188@druhi.ATT.COM>, terrell@druhi (Eric R. Terrell) writes:
>Reading and writing from/to an absolute memory address in Modula 2:
>
Well, in PIM2, 3rd Edition (in german, the only I have at hand at
the moment) Wirth describes in chapter 31 about "device
processes, concurrency and interrupts" (translated from german,
may vary in english) a possibility to give the absolute address
of a variable on a pdp-11 by saying:
VAR s[777560B] : BITSET;
x[777562B] : CHAR;
Try, whether your compiler groks it. (I doubt it.)
Michael Schmidt
Technical Details
Message-ID:
<295@corona.pb>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!unido!pbinfo!corona!michaelReferences:
<3188@druhi.ATT.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!unido!pbinfo!corona!michael From: michael@pbinfo.uucp (Michael Schmidt) Newsgroups: comp.sys.atari.st Subject: Re: Memory Access in Modula 2 Message-ID: <295@corona.pb> Date: 7 Jul 88 12:41:32 GMT References: <3188@druhi.ATT.COM> Sender: news@pbinfo.UUCP Reply-To: michael@pbinfo.uucp (Michael Schmidt) Organization: Uni-GH Paderborn, FB17/Informatik Lines: 16 In-reply-to: terrell@druhi.ATT.COM (Eric R. Terrell) Posting-Front-End: Gnews 1.4