Skip to content

Instantly share code, notes, and snippets.

@mwadams
Created June 7, 2013 16:23
Show Gist options
  • Save mwadams/5730505 to your computer and use it in GitHub Desktop.
Save mwadams/5730505 to your computer and use it in GitHub Desktop.
Updated snippet of code
let programInstructionMemory = [|
"load r0 1"
"add r0 1"
"write 0 r0"
"read r1 0"
"load r2 4"
"compare r0 r2"
"jumplt 2"
"exit"
"load r1 4"
"sub r0 2"
"exit"
|]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment