[DCPU-16] Number-to-Character

Jul 13th, 2014
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;DCPU-16 Number-to-Character
  2. ;Takes an input number and turns it into character data
  4. ;Let
  5. ;- num be the input number
  6. ;- char be the output character
  8. :numToChar
  9. set [char], num
  10. add [char], 30
  11. set pc, pop
RAW Paste Data

Adblocker detected! Please consider disabling it...

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

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

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