Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Aggam Rahamim
- IDEAL
- MODEL small
- STACK 100h
- DATASEG
- ; --------------------------
- ; Your variables here
- ; --------------------------
- CODESEG
- start:
- mov ax, @data
- mov ds, ax
- ; --------------------------
- ; Your code here
- ; --------------------------
- mov al, 20
- mov ah, 4
- and al, ah
- ;al שים את המספר שאתה רוצה לבדוק ב
- ;יהיה 4 או 0 al - אם מספר מתחלק ב 4
- exit:
- mov ax, 4C00h
- int 21h
- END start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement