SHARE
TWEET

[DCPU-16] Number-to-Character

TheFastFish Jul 13th, 2014 445 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top