Arm Community
Site
Search
User
Site
Search
User
Support forums
Keil forum
armasm push unknown opcode error
Jump...
Cancel
State
Not Answered
Locked
Locked
Replies
10 replies
Subscribers
22 subscribers
Views
12406 views
Users
0 members are here
Arm Assembly
rvct
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
armasm push unknown opcode error
pradipig pradipig
over 12 years ago
Note: This was originally posted on 8th April 2008 at
http://forums.arm.com
Hi,
I am trying to compile a .s file using armasm. But i am getting this error
"VectorTransform.s", line 8: Error: A1163E: Unknown opcode
8 00000000 PUSH {r2-r12,lr}
"VectorTransform.s", line 9: Error: A1163E: Unknown opcode
9 00000000 LDM r0!,{r2-r5}
Actual Code:-
..AREA TransPoint,CODE,READONLY
..CODE32
..ENTRY
start
..PUSH {r2-r12,lr}
..LDM r0!,{r2-r5}
(Please treat these dots as space)
Please do let know about any possible solution ASAP.
Parents
0
pradipig pradipig
over 12 years ago
Note: This was originally posted on 9th April 2008 at
http://forums.arm.com
thanks everyone....it solved the problem...
now the code is compiling....
But now I am getting linking errors....
I have a function TransPoint,which i want to use in another C file. I have declared the function prototype in that C file. But it seems that the linker is not able to find the function defination.
The function prototype is void TransPoint(void*,void*) .
Here is the TransPoint function in asm.
..AREA VecTrans,CODE,READONLY
..CODE32
..ENTRY
TransPoint FUNCTION
..EXPORT TransPoint
..STMFD sp!, {r2-r12, lr};
..LDMFD r0!,{r2-r5}
;some more code
Do I need to specify anything more so that the linker finds this defination. Please do let me know.
Cancel
Vote up
0
Vote down
Cancel
Reply
0
pradipig pradipig
over 12 years ago
Note: This was originally posted on 9th April 2008 at
http://forums.arm.com
thanks everyone....it solved the problem...
now the code is compiling....
But now I am getting linking errors....
I have a function TransPoint,which i want to use in another C file. I have declared the function prototype in that C file. But it seems that the linker is not able to find the function defination.
The function prototype is void TransPoint(void*,void*) .
Here is the TransPoint function in asm.
..AREA VecTrans,CODE,READONLY
..CODE32
..ENTRY
TransPoint FUNCTION
..EXPORT TransPoint
..STMFD sp!, {r2-r12, lr};
..LDMFD r0!,{r2-r5}
;some more code
Do I need to specify anything more so that the linker finds this defination. Please do let me know.
Cancel
Vote up
0
Vote down
Cancel
Children
No data