This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Asm in GCC
- From: "Atanas Uzunov" <atanasuzunov at mail dot bg>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 5 Apr 2002 02:06:40 +0300
- Subject: Asm in GCC
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