delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Date: | Mon, 10 Dec 2001 10:59:07 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Timo Inki <triq AT mbnet DOT fi> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Handler call with inline asm |
In-Reply-To: | <nuKQ7.80$XP6.7525@read2.inet.fi> |
Message-ID: | <Pine.SUN.3.91.1011210105850.20650B-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sun, 9 Dec 2001, Timo Inki wrote: > asm volatile("pushfl \n lcall %0" > : > : "g" (Oldhandler)); > > The as complains about wrong operands with lcall. > It should call Oldhandler by lcall. You should use "=g", not "g" for the output operands. If that doesn't help, please show us more details about this, in particular the exact error message printed by the compiler. The declaration of Oldhandler is also of great importance here.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |