deoblo1
Jun 2nd, 2001, 11:25 PM
Can someone help me out with inline asm in c++
1.) How do u work with paramiters?
void asmfunc(int x, int y)
{
asm
{
mov ax, x
mov dx,y
}
}
is that how you work with paramiters?
2.) How do you do return functions?
3.) if i were to just use if statments, and for loops, and write my own display functions ect...would it not use dos?
4.) how do I make a com file?
5.) how do i boot to the program i make, in other words how do i make a boot disk?
Thank you so much
1.) How do u work with paramiters?
void asmfunc(int x, int y)
{
asm
{
mov ax, x
mov dx,y
}
}
is that how you work with paramiters?
2.) How do you do return functions?
3.) if i were to just use if statments, and for loops, and write my own display functions ect...would it not use dos?
4.) how do I make a com file?
5.) how do i boot to the program i make, in other words how do i make a boot disk?
Thank you so much