Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!src.dec.com!src.dec.com!muller From: muller@src.dec.com (Eric Muller) Newsgroups: comp.lang.modula3 Subject: Re: Bad code for address arithmetic (1.6) Message-ID: <1991Apr1.174025.6407@src.dec.com> Date: 2 Apr 91 01:40:25 GMT References: <9104020125.AA12615@jumbo.pa.dec.com> Sender: news@src.dec.com (News) Reply-To: muller@src.dec.com (Eric Muller) Organization: DEC Systems Research Center Lines: 14 In article <9104020125.AA12615@jumbo.pa.dec.com>, mjordan (Mick Jordan) writes: > > This program exhibits a bug in the code generated for address arithmetic. > ... > INC(eP2, ADRSIZE(Entry)); > INC(eA2, ADRSIZE(Entry)); While waiting for the next release, you can use: eP2 := eP2 + ADRSIZE (Entry); eA2 := eA2 + ADRSIZE (Entry); -- Eric.