Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Need help with assembler.
@ 1994-12-08 15:52 Steven W Orr
  1994-12-08 19:59 ` Charles M Richmond
  0 siblings, 1 reply; 2+ messages in thread
From: Steven W Orr @ 1994-12-08 15:52 UTC (permalink / raw)



I need to generate some sizes and offsets in assembler under
OSF1/AXP. My problem is demonstrated by the following example:

.my_start:
	.long .my_end - .my_start
.my_end:

The error is:

thor/steveo 265 > as foo.s
as0: Error: foo.s, line 2: Symbol must have absolute value: .my_start
      .long .my_end - .my_start
thor/steveo 266 > 

In general, I have a lot of these type of constructs.

Can someone please tell me how to accomplish this? Many thanks in
advance. Please email. I'll summarize.
-- 
----------Time flies like the wind. Fruit flies like a banana.----------------
--------Stranger things have happened but none stranger than this.-------------
Steven W. Orr      steveo@uniprise.com     <site of former bang addr:-)>
---------------"Listen to me! We are all individuals."-------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Need help with assembler.
  1994-12-08 15:52 Need help with assembler Steven W Orr
@ 1994-12-08 19:59 ` Charles M Richmond
  0 siblings, 0 replies; 2+ messages in thread
From: Charles M Richmond @ 1994-12-08 19:59 UTC (permalink / raw)


steveo@world.std.com (Steven W Orr) writes:


>I need to generate some sizes and offsets in assembler under
>OSF1/AXP. My problem is demonstrated by the following example:

>.my_start:
>	.long .my_end - .my_start
>.my_end:

>The error is:

>thor/steveo 265 > as foo.s
>as0: Error: foo.s, line 2: Symbol must have absolute value: .my_start
>      .long .my_end - .my_start
>thor/steveo 266 > 

>In general, I have a lot of these type of constructs.


Woops, its a feature!  Anyway I have filed QAR 28464 to have the problem
fixed.

Charlie
-- 
*****************************************************************************
*  Charles Richmond 	Integrated International Systems Corporation        *
*  cmr@asoko.iisc.com	cmr@world.std.com				    *
*  Specializing in UNIX, X, Image Processing, and Communications.           *


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-12-08 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-08 15:52 Need help with assembler Steven W Orr
1994-12-08 19:59 ` Charles M Richmond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox