will inline asm work in LINUX?
i mean will:
asm
{
mov ax,03
int 10h
};
work in linux?
or is it only in windows/dos environment?
revolutionaire@eudoramail.com
This is a discussion on asm in linux within the Linux Programming forums, part of the Platform Specific Boards category; will inline asm work in LINUX? i mean will: asm { mov ax,03 int 10h }; work in linux? or ...
will inline asm work in LINUX?
i mean will:
asm
{
mov ax,03
int 10h
};
work in linux?
or is it only in windows/dos environment?
revolutionaire@eudoramail.com
there is no ;'s after the command.
Asking the right question is sometimes more important than knowing the answer.
Please read the FAQ
C Reference Card (A MUST!)
Pointers and Memory
The Essentials
CString lib
try it, observe how it ends the function call....
at least on Linux it does
Asking the right question is sometimes more important than knowing the answer.
Please read the FAQ
C Reference Card (A MUST!)
Pointers and Memory
The Essentials
CString lib