diff options
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 |