Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL SMALL
- .STACK 100H
- .DATA
- MSG DB "Fun", 10, 13, "Day!$" ; 10 for New Line, 13 for carier Return
- .CODE
- MAIN PROC
- MOV AX, @data ; Declaring Variable
- MOV DS, AX ; Register
- LEA DX,MSG ; Print
- MOV AH,9 ; Transfer the value 9 in the memory variable TOTAL
- INT 21H ; Call Kernel
- MOV AH,4Ch ; Fixing Error
- INT 21H ; Fixing Error
- MAIN ENDP
- END MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement