🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41821

help needed with GCC and 68k assembler !

#41821
From: Heller
Date: Wed, 14 Feb 1996 00:00
30 lines
1509 bytes

Hi,


I am developing control applications for a 68040-VMEbus board with a GNU-C
cross compiler on a PC. 

As I had to convert some older 68k assembler sources in Motorola-Assembler
format I got a syntax problem. Motorola syntax seems not to be the same
notation the GNU assembler understands.

Especially the assembler line "bfextu   d2{0:3},d1" causes
an operand mismatch error. But unfortunately I did not found a hint in the
GNU-assembler manual how the correct GNU syntax has to look like. 
I tried some variations of the brackets, but did not get it working.

Perhaps someone who is a little more familiar with the GNU-compiler package
can tell me what is the correct syntax.

Thanks in advance,

              Marcus

==========================================    ======    =====  
from  : M.Heller                      //     //        //   //
email : heller@ifr.ing.tu-bs.de      //     //===     //====
                                    //     //        //\\
Institute of Control Engineering   //     //        //  \\
TU Brunswick, Germany            --------------------------
Technical Details
Message-ID: <heller-1402961453110001@mac3.ifr.ing.tu-bs.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d7521ec5a2950075,start
X-Google-Attributes: gid11318c,public
From: heller@ifr.ing.tu-bs.de (Heller)
Subject: help needed with GCC and 68k assembler !
Date: 1996/02/14
Message-ID: <heller-1402961453110001@mac3.ifr.ing.tu-bs.de>
X-Deja-AN: 139380953
distribution: world
organization: IfR
newsgroups: gnu.gcc.help