madhawaseeeee

Untitled

Sep 19th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .MODEL  SMALL
  2. .STACK  100H
  3. .CODE  
  4.  
  5. START:
  6.     MOV AL, 5
  7.     MOV BL, 5
  8.     MOV CL, 0
  9.  
  10. FINDX:
  11.     ADD BL, AL
  12.     MOV DL,BL
  13.    
  14. RESETXY:
  15.     MOV BL, 5
  16.  
  17. FINDY:
  18.     MUL BL
  19.  
  20. OPTABLE:
  21.     XOR DL, AL
  22.     SHL DL,1
  23.  
  24. DONE:
  25.     MOV AL, DL
  26.     MOV AH, 4CH
  27.     INT  21H
  28.  
  29. END START
Add Comment
Please, Sign In to add comment