We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I want to create an assembly file from which I can read system messages. I wrote the following code:
MESSAGE .macro VPOS, HPOS, ALGN, DUR, NEG, MSGTXT .field VPOS, 8 .field HPOS, 8 .field ALGN, 2 .field DUR, 13 .field NEG, 1 .word MSG? .sect ".const" MSG? .string ":MSGTXT:", 0 .text .endm ; Turkish Messages .def _SY_TURK_MSG _SY_TURK_MSG: ; row col algn dur neg text MESSAGE 7, 18, 0, 1500, 0, "coskun" MESSAGE 8, 18, 0, 1500, 0, "ayyildiz" .end
When I compile the code, I get the following error message:
messages.s(13):error: A1355U: A Label was found which was in no AREA (the red line above)
I dont know where I should write "AREA". Can you please help me solve this problem?
Independent as far as this issue is concerned -- including the bit-fields which have apparently been used here :-) (I am no gas expert)
armasm doesn't know about bitfields, so there is no direct translation from gas to armasm possible.
Regards Marcus http://www.doulos.com/arm/