This is a discussion on ACK cc and inline assembly - Minix ; can anyone tell me how to include inline assembler in c source code on minix in ACK. in the code currently used: asm volatile ("outb %b0,%w1" : : "a" (4), "d" (0x3ce)); ACK gives error : asm undefined : volatile ...
can anyone tell me how to include inline assembler in c source code on
minix in ACK.
in the code currently used:
asm volatile ("outb %b0,%w1" : : "a" (4), "d" (0x3ce));
ACK gives error
: asm undefined
: volatile not expected
also how do you access low level registers, I want to access the vga
system.
Any tips advice sample code would be much appreciated.