Re: Bloody Beginner 2: __asm volatile
Posted: Thu Jul 10, 2008 1:37 pm
Great, guys!!!
Thanks to all your help I got it working now with
So I got myself a neat little Command Line Interface with update cursor and everything ready, though I don't yet do more than just print the characters I type - nonetheless, it works
Thanks guys, don't know what I would have done without you all
(and I'm sure to be back with the next topic soon
)
Thanks to all your help I got it working now with
Code: Select all
char inportb(short port)
{
char ret_val;
_asm {
mov dx, port
in al, dx
mov ret_val, al
}
return ret_val;
}

Thanks guys, don't know what I would have done without you all

(and I'm sure to be back with the next topic soon
