Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IDEAL
- MODEL small
- STACK 100h
- INCLUDE "gvahim.mac"
- DATASEG
- ; --------------------------
- ; Your variables here
- msg db 'BOOM', 0
- msg1 db 'not_boom', 0
- ; --------------------------
- CODESEG
- start:
- mov ax, @data
- mov ds, ax
- ; --------------------------
- ; Your code here
- ; --------------------------
- call SCAN_NUM
- cmp dx, 7
- je equal
- LEA si, [msg1]
- call PRINT_STR
- jmp exit
- equal:
- LEA si, [msg]
- call PRINT_STR
- exit:
- mov ax, 4c00h
- int 21h
- INCLUDE "gvahim.asm"
- END start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement