🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2303

gnu AS & GASP:unitialized space

#2303
From: George R. Dinwiddie
Date: Wed, 17 Jan 1996 00:00
19 lines
1337 bytes
I'm porting some old code from the Oasys/Greenhills toolset to
Cygnus/Gnu and have come across a problem.  With Greenhills,
the assembler directive "ds.b" generates no output.  With GASP,
the directive ".RES.B" generates an AS ".space" directive which
takes both 'size' and 'fill' parameters, defaulting to a fill
value of 0x00.

The end result is that my S-record output has data for these
locations and, when these S-records are concatenated with others
for loading into ROM or RAM, they overlap data defined elsewhere.

*Is* there a way to change the location counter by a fixed number
of bytes without generating output?

Can anyone suggest any other ways around this problem?

  George Dinwiddie
  ACC Systems
  grd@sys.acc.com
Technical Details
Message-ID: <DLC2DA.FKt@news.zippo.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f2e874242e1cdde0,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: f849b,f2e874242e1cdde0,start
X-Google-Attributes: gidf849b,public
X-Google-Thread: 1025b4,f2e874242e1cdde0,start
X-Google-Attributes: gid1025b4,public
From: "George R. Dinwiddie" <grd@sys.acc.com>
Subject: gnu AS & GASP:unitialized space
Date: 1996/01/17
Message-ID: <DLC2DA.FKt@news.zippo.com>
X-Deja-AN: 135533917
sender: usenet@news.zippo.com
organization: Zippo
newsgroups: gnu.misc.discuss,gnu.gcc.help,comp.arch.embedded