TheFastFish

[DCPU-16] Number-to-Character

Jul 13th, 2014
952
Never
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
  3.  
  4. ;Let
  5. ;- num be the input number
  6. ;- char be the output character
  7.  
  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 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.

×