"as" question
Donald Stone
stone at mckinley.cs.unc.edu
Tue Jun 18 23:03:12 AEST 1991
I'm new to the ultrix community and I can't find an assembler manual.
The following program (test.s)
.data
one: .word 0
.word 1
two: .word three-one
.word 3
three: .word 4
when run through "as"
as -o test.o test.s
generates the following error message
as0: Error: test.s, line 5: Symbol must have absolute value: one
two: .word three-one
What's going on here? Most assemblers support subtracting two labels to get
the relative length between them. Is there any way to get this value? Or am
I missing something?
Thanks much,
Don Stone (stone at cs.unc.edu)
More information about the Comp.unix.ultrix
mailing list