Advertisement
TheFastFish

[DCPU-16] Number-to-Character

Jul 13th, 2014
3,803
0
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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement