From 15ab959d64e65c313ec9741a64e906f986597078 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 18 Mar 2015 00:01:43 -0700 Subject: 951 - done with break/loop --- cpp/016jump | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/016jump') diff --git a/cpp/016jump b/cpp/016jump index 827e70f4..9d192e96 100644 --- a/cpp/016jump +++ b/cpp/016jump @@ -7,8 +7,9 @@ assert(Next_recipe_number == JUMP); Next_recipe_number++; :(before "End Primitive Recipe Implementations") case JUMP: { - trace("run") << "ingredient 0 is " << instructions[pc].ingredients[0].name; + trace("run") << "ingredient 0 is " << instructions[pc].ingredients[0].value; pc += instructions[pc].ingredients[0].value; + trace("run") << "pc now " << pc; break; } -- cgit 1.4.1-2-gfad0 nchange='this.form.submit();'> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/html/014indirect_addressing.cc.html
blob: 0273d0993e285b469eba53d5317ef1943928d202 (plain) (tree)
1
2
3
4
5
6
7
8
9