X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Timo Inki" Newsgroups: comp.os.msdos.djgpp Subject: Handler call with inline asm Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 x-mimeole: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sun, 09 Dec 2001 14:24:19 GMT NNTP-Posting-Host: 62.71.171.242 X-Trace: read2.inet.fi 1007907859 62.71.171.242 (Sun, 09 Dec 2001 16:24:19 EET) NNTP-Posting-Date: Sun, 09 Dec 2001 16:24:19 EET Organization: Sonera corp Internet services To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com asm volatile("pushfl \n lcall %0" : : "g" (Oldhandler)); The as complains about wrong operands with lcall. It should call Oldhandler by lcall. I'm using Gcc 3.0.2 and binutils 2.11.2, but with 2.7.x it worked fine. What is wrong? Timo Inki