From: "F.X.Gruber-Museum-Arnsdorf" Newsgroups: comp.os.msdos.djgpp Subject: inline asm Date: Sun, 22 Mar 1998 19:17:55 +0100 Organization: magnet Internet Services Lines: 24 Message-ID: <6f3kpe$sqr$1@orudios.magnet.at> NNTP-Posting-Host: 195.3.67.124 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, i have a simple question about DJGPP's inline assembler: if i write int a; i can write "0" to "a" with the following: asm("mov $0,_a"); if i have int a[10]; how can i write "0" to a specific element of "a" ? asm("mov $0,_a[%eax]"); doesn't work. how would i do this ? i know it must be something like ?_a(%eax,4)? thanx for your help Li