Advertisement
Comatose-1990

Loading code from hard drive

Sep 18th, 2013
3,614
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. SET C, 0x500
  20. IFL C, PC
  21.   HNG
  22.  
  23. REM store code
  24. SET A, 1
  25. SET B, 0
  26. SET C, 0
  27. HWI 3
  28.  
  29. HNG
  30.  
  31.  
  32.  
  33. ///////////////////////////////////////
  34. // Load hello world
  35. ///////////////////////////////////////
  36.  
  37. SET A, 0
  38. SET B, 0
  39. SET C, 0x1000
  40. HWI 3
  41.  
  42. SET PC, 0x1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement