@ha @l not working
Igor Ageyev
igor@icrow.digipark.com
Tue Sep 16 00:29:00 GMT 2003
Hi,
I am using this code to load a 32-bit immediate in a register:
lis reg, imm@ha
addi reg, reg, imm@l
When I try to build this code, I get errors:
-> as -v -D test.S
GNU assembler version 2.14 (powerpc-ibm-aix5.1.0.0) using BFD version 2.14
20030612
test.S: Assembler messages:
test.S:15: Error: syntax error; found `@' but expected `,'
test.S:15: Error: junk at end of line: `@ha'
test.S:15: Error: syntax error; found `@' but expected `,'
test.S:15: Error: junk at end of line: `@l'
I have seen posts to binutils mailing lists refering to similar syntax using
@ha and @l, and this code builds with a different assembler. I am concenrned
that maybe I built binutils incorrectly. Does anybody know what is going on?
Thank you,
Igor Ageyev
More information about the Binutils
mailing list