* alpha assembler
@ 1995-12-01 13:59 Niels Elgaard Larsen
0 siblings, 0 replies; only message in thread
From: Niels Elgaard Larsen @ 1995-12-01 13:59 UTC (permalink / raw)
To: tru64-unix-managers
In OSF3.2, when i assemble the following:
.data
l1:
.long 0x42
l2:
.long 0x43
.long l2-l1
I get:
as0: Error: td.s, line 6: Symbol must have absolute value: l1
.long l2-l1
The Assembly Language Programmers Guide
2.7.4 says about expressions:
7 If the operator is a minus sign (-) and the first
operand refers to a relocatable text-section, data-
section, or bss-section symbol, type propagation rules
can vary:
[snip]
- The second operand can have the same type as
the first operand and the result is absolute.
Why doesn't it work?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-12-01 13:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-01 13:59 alpha assembler Niels Elgaard Larsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox