Skip to content

Instantly share code, notes, and snippets.

View Ben-Benevolent's full-sized avatar

Ashley Story Ben-Benevolent

  • University of Adelaide (Student)
  • Adelaide, South Australia
  • 07:49 (UTC +10:30)
  • Facebook ashley.ben.story
View GitHub Profile

Math

  • .s - Show the stack
  • +, -, *, mod - Math operators
  • /mod - performs both / and mod

Stack manipulation

  • drop and 2drop - drop a stack item (once / twice)
  • dup - duplicate a stack item
  • rot - rotate the stack