Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Unknown armasm error
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
2666 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Unknown armasm error
Aydin Ozyavas
over 12 years ago
Note: This was originally posted on 21st October 2010 at
http://forums.arm.com
I am using RVCT 4.1 build 462, and I have seen this armasm error:
A1903E: Line not seen in first pass; cannot be assembled
Do you have any idea what this means?
Thanks,
-A
Aydin Ozyavas
over 12 years ago
Note: This was originally posted on 25th October 2010 at
http://forums.arm.com
I had the very same issue and made the same change to fix the error. This must be an assembler bug. Thanks for the response.
Cancel
Vote up
0
Vote down
Cancel
Scott Douglass
over 12 years ago
Note: This was originally posted on 26th October 2010 at
http://forums.arm.com
This is caused by armasm becoming stricter about what differences it allows in definitions between it's first and second passes. This is mentioned at [url="
http://infocenter.arm.com/help/topic/com.arm.doc.dui0530a/CBAHBCBD.html
"]
http://infocenter.arm.com/help/topic/com.a...a/CBAHBCBD.html[/url]
, but it would be good to add the IF :DEF: foo/ELSE example to the notes there.
Hopefully some future armasm will learn to allow it as a special case like the IF :LNOT: :DEF: foo/ENDIF case.
Cancel
Vote up
0
Vote down
Cancel
Martin Weidmann
over 12 years ago
Note: This was originally posted on 25th October 2010 at
http://forums.arm.com
I saw this once when porting some old code that used a lot of defines. Not entirely sure what it means, but I got round it like this
Before:
IF :DEF:MY_DEF
ELSE
MY_DEF EQU 4
ENDIF
Fix:
IF :LNOT: :DEF: MY_DEF
MY_DEF EQU 4
ENDIF
Cancel
Vote up
0
Vote down
Cancel