Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2020
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;Aggam Rahamim
  2. IDEAL
  3. MODEL small
  4. STACK 100h
  5. DATASEG
  6. ; --------------------------
  7. ; Your variables here
  8. ; --------------------------
  9. CODESEG
  10. start:
  11.     mov ax, @data
  12.     mov ds, ax
  13. ; --------------------------
  14. ; Your code here
  15. ; --------------------------
  16.     mov al, 20
  17.     mov ah, 4
  18.     and al, ah
  19.     ;al שים את המספר שאתה רוצה לבדוק ב
  20.     ;יהיה 4 או 0 al - אם מספר מתחלק ב 4
  21. exit:
  22.     mov ax, 4C00h
  23.     int 21h
  24. END start
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement