Skip to content

Instantly share code, notes, and snippets.

@ryuchan00
Created May 11, 2019 00:58
Show Gist options
  • Save ryuchan00/2af63644e6b6c8d682070dc81dec4656 to your computer and use it in GitHub Desktop.
Save ryuchan00/2af63644e6b6c8d682070dc81dec4656 to your computer and use it in GitHub Desktop.
load A
sub B
ifp ABig
ifn BBig
ABig:load A
store Z
jump CompC
BBig:load B
store Z
jump CompC
CompC: sub C
ifn CBig
stop
CBig: load C
store Z
stop
A: 1
B: 6
C: 2
Z: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment