Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mov cl, 00 ;Our counter, set to 00 initially
- start: ;Our label called start
- mov al, XX
- out 02 ;Send value in al to port2
- mov al, YY
- out 02
- inc cl
- cmp cl, 0A ;Compare value in cl register to 0x0A which is 10 decimal
- jnz start ;If its not 0, go to start label, if it is continue down
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement