Salve, ho un problema di integrazione ASM nel DEV C++.
Ho provato questo ma non va!!

(dovrebbe stampare una stringa)

codice:
#include <stdio.h>

int main()
{
    char *var = "asd";
    /*** asm inline nel dev-cpp *****

    operand? source, destination
    %register
    $constant value
    [memory] reference
    l, w, b: operand size specification
    ex:
      movb $0x01 , %al
      movw $0x01 , %ax
      movl $0x01 , %eax


    *********************************/
   __asm__ ("
        movb $0x09,%ah
        movw $0x00401210,%dx    //0x00401210 indirizzo di asd
        int $0x21
    ");
    return 0;
}
L'errore è in fase di runtime.
Il dev è il 4.0.0.0

grazie per l'aiuto che mi darete