Hi, currently we are trying to move our development tools from Microtec C-Compiler to GCC configured as a cross compiler for Motorola M68k. We tried to translate the following code snippet from MCC to GCC but didn't succeed: ASM ("\tMOVE.L #.startof.(SuperStack)+.sizeof.(SuperStack)-4,A2"); Has anyone an idea how this line looks like in GCC??? Thanks in advance
GCC assembler syntax
Started by ●January 11, 2006
Reply by ●January 11, 20062006-01-11
Karl-Heinz wrote:> Hi, > > currently we are trying to move our development tools from Microtec > C-Compiler to GCC configured as a cross compiler for Motorola M68k. We > tried to translate the following code snippet from MCC to GCC but > didn't succeed: > ASM ("\tMOVE.L #.startof.(SuperStack)+.sizeof.(SuperStack)-4,A2"); > > Has anyone an idea how this line looks like in GCC???Within the Linux shell, use the command % info gcc then read (and comprehend ;-) the sections on Extended Asm and Constraints. -- Michael N. Moran (h) 770 516 7918 5009 Old Field Ct. (c) 678 521 5460 Kennesaw, GA, USA 30144 http://mnmoran.org "So often times it happens, that we live our lives in chains and we never even know we have the key." The Eagles, "Already Gone" The Beatles were wrong: 1 & 1 & 1 is 1