Another Simple AT&T Assembly problem
Posted: Wed Mar 17, 2004 5:04 pm
Hi
I'm trying to use the "in" instruction (I'm remapping PICs) like this:
asm ("inb %1, %0" : "=a" (temp1) : "d" (PIC1_DATA));
but I'm getting:
Error: suffix or operands invalid for `in'
What am I doing wrong this time??
Thanks
srg
I'm trying to use the "in" instruction (I'm remapping PICs) like this:
asm ("inb %1, %0" : "=a" (temp1) : "d" (PIC1_DATA));
but I'm getting:
Error: suffix or operands invalid for `in'
What am I doing wrong this time??
Thanks
srg