From: "Vermin" Newsgroups: comp.os.msdos.djgpp References: Subject: ....I know... Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: Date: Wed, 16 Aug 2000 21:36:05 +0200 NNTP-Posting-Host: 130.67.72.21 X-Complaints-To: news-abuse AT online DOT no X-Trace: news1.online.no 966454121 130.67.72.21 (Wed, 16 Aug 2000 21:28:41 MET DST) NNTP-Posting-Date: Wed, 16 Aug 2000 21:28:41 MET DST Organization: Telenor Online Public Access To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ..I'm quite aware of how asm works... I actually coded in asm before I started in DJGPP/C++. What I wanted to know was for instance that "&" gives the mem pos of the variable, sort of like mov ax, anIntVar instead of mov ax, [anIntVar] ...but how does -> and * work?? "AndrewJ" wrote in message news:t0sfpsgrntmfofa91jq7ut5cc1p1943729 AT 4ax DOT com... > >What does -> & and * look like in asm?? > > Simply put, it doesn't. > > These are C (and C++) specifiers for manipulating an object by its memory > address . In assembler code, addresses are stored as immediate values or in > memory themselves. > > ------- > AndrewJ > > "This is a wonderful answer. It's off-topic, it's incorrect, and it doesn't > answer the question." - Richard Heathfield.