LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   arm1136j-s (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/arm1136j-s-888927/)

me011089 06-29-2011 03:45 AM

arm1136j-s
 
Hi,
I just tried to assemble a code in arm1136j-s in arm-none-linux-gnueabi-gcc but the assembler gives error as "Error: bad instruction 'dcd 0,1,34,5' "

for the instruction,
table: DCD 0,1,34,5


can anyone suggest me a solution

me011089 08-22-2011 01:46 PM

Solved
 
Hi, actually it was a directive and the equivalent in GaS(Gnu assembler)is .word
SYNTAX:<label> .word <values seperated by','>


All times are GMT -5. The time now is 08:33 PM.