This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
break statements
- From: Turny Dávid <Turny dot David at stud dot u-szeged dot hu>
- To: binutils at sourceware dot org
- Date: Wed, 18 Oct 2006 02:49:07 +0200
- Subject: break statements
Hi,
I am beginner. I try to break a line, exactly a statement in my
assembly source file, but I cant :) I read that I have to use the "\"
character, but the arm-elf-as did not recognize that :( This is my
test code:
PCK = 0
PCK1= 1
PCK2=2
PCK3=3
.equ PMC,( 1<<PCK )|\
( 1<<PCK1 )|\
( 1<<PCK2 )|\
( 1<<PCK3 )
.arm
.text
_start:
mov r0,#PMC
I got this message:
header.s: Assembler messages:
header.s:6: Error: bad expression
header.s:7: Error: junk at end of line, first unrecognized character is `('
header.s:8: Error: junk at end of line, first unrecognized character is `('
header.s:9: Error: junk at end of line, first unrecognized character is `('
ARM GAS header.s page 1
How can I break those lines?
Thank you!
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.