Date: Wed, 15 Jan 2003 10:55:36 +0300 From: Bokarev Alexandr X-Mailer: The Bat! (v1.44) Organization: NTC Elins X-Priority: 3 (Normal) Message-ID: <1814460936.20030115105536@elins.ru> To: djgpp AT delorie DOT com Subject: Problem with inline AT&T assembler Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I have DJGPP ver.3.1 and try to use inline assembler. I write something like: int src; __asm__ ( \ "some code in assembler" : : "S" (src) : "%esi" ); and think that this code is right. But compiler says: "Error: can't find register in class 'SIREG' while reloading 'asm'" (or CREG, DIREG etc.). What must I do to fix this error ?