Hello. I want learn assembly, and I playing with 16 bit.
I have this little .com file that print the letter Z:
org 100h
mov al, 'Z'
int 29h
ret
But I want use that instruction from a c program with tiny c:
And I have this, but not works:
#include <stdlib.h>
int main()
{
__asm__ (
"movl $90,%al\n\t"
"int $0x29"
);
return 0;
}
what is wrong ?