From: "JAP" Newsgroups: comp.os.msdos.djgpp Subject: Help about INT 21H under inline asm Date: Wed, 4 Feb 1998 00:04:26 +0100 Organization: Unisource Espana NEWS SERVER Lines: 13 Message-ID: <6bg3tt$71q$1@talia.mad.ibernet.es> NNTP-Posting-Host: ninfovia180.mundivia.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi. I tried to call the int 21H under inline asm from gcc and i got the program fall. It caused an internal protection fault under win95. I want to know if it can be possible to call this interrupt or it's impossible under protected mode. Another question is if these lines is correct: movw $0x7, %%ax; shl $8, %%ax; because I can't make anything with AH and I wonder I I can shift 8 bits to the left and then AH=7 and AL=0 after I make the shift. Lot of thanks.