Guest User

Untitled

a guest
Jul 2nd, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _start:
  2.        0:  push 4096
  3.        1:  cpget
  4.     ; Requires patch:
  5.        2:  jmp 0x0
  6.        3:  drop
  7.        4:  syscall
  8.        5:  push 16776960
  9.        6:  cpget
  10.     ; Requires patch:
  11.        7:  jmp 0x0
  12.        8:  hwio [ci:1]
  13.        9:  drop
  14.        A:  push 65535
  15.        B:  cpget
  16.     ; Requires patch:
  17.        C:  jmp 0x0
  18.        D:  hwio [ci:1]
  19.        E:  drop
  20.        F:  jmp 0x0
  21.       10:  syscall
  22. puts:
  23.       11:  bpget
  24.       12:  spget
  25.       13:  bpset
  26.       14:  get -2
  27. puts_copy:
  28.       15:  [i0:peek] load
  29.       16:  dup
  30.       17:  cmp 0
  31.       18:  [ex(z)=0] [i0:pop] syscall [ci:1]
  32.       19:  [ex(z)=0] [i0:arg] add 1
  33.       1A:  [ex(z)=0] jmp 0x15
  34. puts_stop:
  35.       1B:  drop
  36.       1C:  bpget
  37.       1D:  spset
  38.       1E:  bpset
  39.       1F:  jmpi
  40. cls:
  41.       20:  bpget
  42.       21:  spget
  43.       22:  bpset
  44.       23:  push 0
  45. cls_copy:
  46.       24:  dup
  47.       25:  cmp 1228800
  48.     ; Requires patch:
  49.       26:  [ex(z)=1] jmp 0x0
  50.       27:  get -2
  51.       28:  get 1
  52.       29:  [i0:arg] add 4096
  53.       2A:  storei [ci:2]
  54.       2B:  [i0:arg] add 4
  55.       2C:  jmp 0x24
  56. cls_stop:
  57.       2D:  bpget
  58.       2E:  spset
  59.       2F:  bpset
  60.       30:  jmpi
Advertisement
Add Comment
Please, Sign In to add comment