Cours n° 1 - Mon premier programme

COURS N° 2 - MsgBox

Cours n° 3 - Les registres du microprocesseur

Ce cours a pour but d'afficher un message à l'écran.

Version 32 bits


.8086
.MODEL TINY


MonCode SEGMENT 'CODE'

        ORG 100h
       
    Main:
       
        mov ah, 9h
        mov dx, OFFSET Msg
        int 21h
       
        mov ax, 4C00h
        int 21h
               
        Msg DB "Hello World !$"

MonCode ENDS

END Main


Compilation :

ml /c msg.asm
link16 /tiny msg.obj