delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/19/08:08:11

Message-ID: <367BA58D.2E6C06D3@gmx.net>
Date: Sat, 19 Dec 1998 14:09:33 +0100
From: Christian Hofrichter <ChristianHofrichter AT gmx DOT net>
X-Mailer: Mozilla 4.5 [de]C-CCK-MCD QXW03201 (Win95; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Need ASM-Syntax to put code into one asm-instruction
Reply-To: djgpp AT delorie DOT com

Let's say I have the following code :

asm("movw  %0,%%es":
                   :"r"((unsigned short) vesa_framebuffer) )
asm("movl  %0,%%edi" :
                     :"r"(address) );

How can I put it into one asm-instruction  ?
If I use the "normal" asm-syntax I can use "\n\t" but in extended
asm-syntax this doesn't seem to work.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019