Endless Counter (sort of)

Nov 11th, 2012
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Template for 10c.co DCPU-16 tutorials
  3. ; Include some boilerplate
  4. #include <boilerplate.dasm>
  6.     ; Add your code here
  7. SET A, 0
  8. count:
  9. SET X, 0
  10. SET Y, 1
  11. ADD A, 1
  12. JSR print_dec
  13. SET PC, count
  14. end:
  15.     SET PC, end ; Loop forever
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.