[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: how to add assembler?




On 16-Oct-99 Felix Kollmann wrote:
> Hi,
> 
> how to add assembler in C++?
> 
> I tried:
> 
>       asm mov eax, 80000000h
> 
>       extern "asm" mov eax, 8000000h
> 
> Does anybody have knowlegde of this?
> 

the linux kernel has many many examples of assembly in C, both as seperate
files and as inline. C++ offers no special mechanism, so it'd be identical

> bye
> 
> Felix Kollmann, DG5PT
> 
> Future Interactive 
> 
> email: fkollmann@gmx.net
> http://www.futureint.com
> 
> ----
> Don't fear the future, because fear is the path to the dark side.
> Fear is to angry. Angry is to hate and hate is to suffering.
> -- Yoda
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: linuxgames-unsubscribe@sunsite.auc.dk
> For additional commands, e-mail: linuxgames-help@sunsite.auc.dk
> 
> 

        -Erik <br0ke@math.smsu.edu> [http://math.smsu.edu/~br0ke]

The opinions expressed by me are not necessarily opinions. In all
probability, they are random rambling, and to be ignored. Failure to ignore
may result in severe boredom or confusion. Shake well before opening. Keep
Refrigerated.