From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16555 invoked by alias); 4 Apr 2002 23:04:46 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16466 invoked from network); 4 Apr 2002 23:04:18 -0000 Received: from unknown (HELO mail.netvisio.net) (212.116.158.131) by sources.redhat.com with SMTP; 4 Apr 2002 23:04:18 -0000 Received: (qmail 930 invoked by uid 0); 4 Apr 2002 23:04:14 -0000 Received: from ppp2.bul.evro.net (HELO atanas) (Ident@212.116.157.201) by mail.netvisio.net with SMTP; 4 Apr 2002 23:04:14 -0000 Message-ID: <003901c1dc2d$12d87820$c99d74d4@atanas> From: "Atanas Uzunov" To: Subject: Assembler in GCC Date: Thu, 04 Apr 2002 15:27:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-SW-Source: 2002-04/txt/msg00176.txt.bz2 Hi, I need to know how to implement simple assembler instructions in C for example: mov ah, 2 when i wrte this (asm ("mov ah, 2"::)) i get the message: Error: suffix or operands invalid for `mov' In help files there are examples only with somthing like that : mov %0,%1 ... nothing said about ah, al ... Atanas Uzunov