Connecting Tech Pros Worldwide Forums | Help | Site Map

what is the word REGS meant...?

vicky
Guest
 
Posts: n/a
#1: Jun 25 '07
Hi, i am vikram

Please tell me the usage of REGS key word
how it can be used?
any kind of suggestions will help me.


Marcus Kwok
Guest
 
Posts: n/a
#2: Jun 25 '07

re: what is the word REGS meant...?


vicky <goelvicky@gmail.comwrote:
Quote:
Please tell me the usage of REGS key word
REGS is not a keyword in C++.

--
Marcus Kwok
Replace 'invalid' with 'net' to reply
Default User
Guest
 
Posts: n/a
#3: Jun 25 '07

re: what is the word REGS meant...?


vicky wrote:
Quote:
Hi, i am vikram
>
Please tell me the usage of REGS key word\
It's not a keyword. In some old C compilers, it was a union meant for
use with certain x86 interrupt routines, for accessing registers.
Quote:
how it can be used?
Don't.




Brian
osmium
Guest
 
Posts: n/a
#4: Jun 25 '07

re: what is the word REGS meant...?


"vicky" writes:
Quote:
Please tell me the usage of REGS key word
how it can be used?
It is not, and never was, a keyword. It is a union commonly #defined in C
compilers until Microsoft got their act together.

Take a look at this link, scan down about 1/3 of the page to the union.

It's use is frowned upon, and might even be unusable in some of the recent
OSes from Microsoft.

http://www.geocities.com/siliconvall...ming/mouse.htm


Closed Thread