🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari
Article #1984

Developers kit C problems

#1984
From: jrm%computer-science.strathclyde...
Date: Fri, 10 Jan 1986 12:27
12 lines
1024 bytes
[]
I ask this question for a friend.  Excuse the lack of technical detail.

He is running C as supplied with the developers kit.  The code generated
by the compiler when accessing a word field from an array of structure
pointers appears to be bad.  [The address calculation is performed in
16 bits, not 32].  Can anyone help ?

Along lines of
  struct {int a,b} *tabptr[100];
  tabptr[i]->a = 12; gives wrong code
Jon
Technical Details
Message-ID: <8601101227.AA09029@stracs>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!info-atari

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!info-atari
From: jrm%computer-science.strathclyde.ac.uk@CS.UCL.AC.UK
Newsgroups: net.micro.atari
Subject: Developers kit C problems
Message-ID: <8601101227.AA09029@stracs>
Date: Fri, 10-Jan-86 07:27:15 EST
Article-I.D.: stracs.8601101227.AA09029
Posted: Fri Jan 10 07:27:15 1986
Date-Received: Sun, 12-Jan-86 00:10:43 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 12