Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!rutgers!mcnc!borg!news_server!stone From: stone@mckinley.cs.unc.edu (Donald Stone) Newsgroups: comp.unix.ultrix Subject: "as" question Message-ID: Date: 18 Jun 91 13:03:12 GMT Sender: news@cs.unc.edu Distribution: comp Organization: /theta/theta6/unc/stone/.organization Lines: 28 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@cs.unc.edu)