Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mov cl, 00  ;Our counter, set to 00 initially
  2. start:      ;Our label called start
  3. mov al, XX
  4. out 02      ;Send value in al to port2
  5. mov al, YY
  6. out 02     
  7. inc cl
  8. cmp cl, 0A  ;Compare value in cl register to 0x0A which is 10 decimal
  9. jnz start   ;If its not 0, go to start label, if it is continue down
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement