diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 10:19:03 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 10:19:03 -0700 |
commit | 88be3dbc0c996490dbac97538f4d712a5b4f6f07 (patch) | |
tree | dbba8f597d3090bb71553544ba28c59644973b3b /cpp/023jump | |
parent | e351d6fd04d95068fac4402dc103e0752182fa8d (diff) | |
download | mu-88be3dbc0c996490dbac97538f4d712a5b4f6f07.tar.gz |
1162
Diffstat (limited to 'cpp/023jump')
-rw-r--r-- | cpp/023jump | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/023jump b/cpp/023jump index 01314ace..3ed0901c 100644 --- a/cpp/023jump +++ b/cpp/023jump @@ -12,7 +12,7 @@ case JUMP: { break; } -:(scenario "jump_can_skip_instructions") +:(scenario jump_can_skip_instructions) recipe main [ jump 1:offset 1:integer <- copy 1:literal @@ -22,7 +22,7 @@ recipe main [ -run: instruction main/1 -mem: storing 1 in location 1 -:(scenario "jump_backward") +:(scenario jump_backward) recipe main [ jump 1:offset # 0 -+ jump 1:offset # | +-+ 1 @@ -52,7 +52,7 @@ case JUMP_IF: { break; } -:(scenario "jump_if") +:(scenario jump_if) recipe main [ jump-if 999:literal 1:offset 1:integer <- copy 1:literal @@ -63,7 +63,7 @@ recipe main [ -run: instruction main/1 -mem: storing 1 in location 1 -:(scenario "jump_if_fallthrough") +:(scenario jump_if_fallthrough) recipe main [ jump-if 0:literal 1:offset 123:integer <- copy 1:literal @@ -92,7 +92,7 @@ case JUMP_UNLESS: { break; } -:(scenario "jump_unless") +:(scenario jump_unless) recipe main [ jump-unless 0:literal 1:offset 1:integer <- copy 1:literal @@ -103,7 +103,7 @@ recipe main [ -run: instruction main/1 -mem: storing 1 in location 1 -:(scenario "jump_unless_fallthrough") +:(scenario jump_unless_fallthrough) recipe main [ jump-unless 999:literal 1:offset 123:integer <- copy 1:literal |