T'aurait pas inverse al et ah ???
mov ax, 1300h
Un accès 16 bits sur EAX n'a pas de penalite.
BruNews, ciao...
-------------------------------
Réponse au message :
-------------------------------
> ceric35(
ceric35@hotmail.com)
>
> Bonjour !
> Quelqu'un pourait-il me dire pourquoi ce code asm sous DEV c++ ne marche pas :
> asm("movb $0x13, %al");
> asm("movb $0x0, %ah");
> asm("int $0x10");
>
> Il est bien compiler mais il y a ensuite une violation de segment.
> merci.