SHARE
TWEET

Untitled

a guest Feb 17th, 2020 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     Load zero
  2.     Store value
  3.     Store total
  4.     Store counter
  5.     Input
  6.     Store total
  7.     Input
  8.     Store value
  9.     Load total
  10.     Subt value
  11.     Store total
  12.     Load counter
  13.     Add one
  14.     Store counter
  15.     Load total
  16.     Subt value
  17.     Skipcond 800
  18.     Jump 013
  19.     Jump 008
  20.     Skipcond 000
  21.     Jump 01D
  22.     Load counter
  23.     Output
  24.     Halt
  25. total, DEC 0
  26. value, DEC 0
  27. counter, DEC 0
  28. one, DEC 1
  29. zero, DEC 0  
  30.  
  31.     Load counter
  32.     Add one
  33.     Jump 016
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