Advertisement
Guest User

Loading code from hard drive

a guest
Sep 18th, 2013
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ////////////////////////////////////////////
  2. // Store Hello World
  3. ////////////////////////////////////////////
  4.  
  5. SET B, 0x8000
  6. HWI 0
  7. SET [0x8000], 0x1948
  8. SET [0x8001], 0x1965
  9. SET [0x8002], 0x196c
  10. SET [0x8003], 0x196c
  11. SET [0x8004], 0x196f
  12. SET [0x8005], 0x1920
  13. SET [0x8006], 0x1957
  14. SET [0x8007], 0x196f
  15. SET [0x8008], 0x1972
  16. SET [0x8009], 0x196c
  17. SET [0x800a], 0x1964
  18. SET [0x800b], 0x1921
  19.  
  20. REM only hang on callback
  21. SET C, 0x500
  22. IFL C, PC
  23.   HNG
  24.  
  25. REM store code
  26. SET A, 1
  27. SET B, 0
  28. SET C, 0
  29. HWI 3
  30.  
  31. HNG
  32.  
  33.  
  34. ////////////////////////////////////////////
  35. // Load Hello World
  36. ////////////////////////////////////////////
  37.  
  38. SET A, 0
  39. SET B, 0
  40. SET C, 0x1000
  41. HWI 3
  42.  
  43. SET PC, 0x1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement