Skip to content

Instantly share code, notes, and snippets.

@LDelhez
Last active April 21, 2016 20:45
Show Gist options
  • Save LDelhez/f6739c6b796091727dfa08e553ed3f03 to your computer and use it in GitHub Desktop.
Save LDelhez/f6739c6b796091727dfa08e553ed3f03 to your computer and use it in GitHub Desktop.
section .text ; Debut du segment de code
main: ; Point d'entree
mov ax, 0x19 ; Copie 0x19 dans ax
mov bx, 0x29 ; Copie 0x29 dans bx
add ax, bx ; Calcule la somme de ax et bx
ret ; Termine l'execution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment