From: "Lars O. Hansen" Newsgroups: comp.os.msdos.djgpp Subject: inline assembly syntax for accessing variables ? Date: Thu, 19 Dec 2002 13:42:52 +0100 Organization: 1&1 Internet AG Lines: 20 Message-ID: NNTP-Posting-Host: p50838032.dip0.t-ipconnect.de X-Trace: news.online.de 1040301769 13407 80.131.128.50 (19 Dec 2002 12:42:49 GMT) X-Complaints-To: abuse AT online DOT de NNTP-Posting-Date: 19 Dec 2002 12:42:49 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have INTEGERVARIABLES a,b; I like to do asm OPCODE-MNEMONIC a,b how do I do it in djgpp? for example: int a,b; a=4; b=8; asm ADD b,a this should result in b being 12 (a+b); I am using C and am used to Intel syntax.