summaryrefslogtreecommitdiffstats
path: root/tpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tpu.c')
-rw-r--r--tpu.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/tpu.c b/tpu.c
index f3a5b90..8981cf2 100644
--- a/tpu.c
+++ b/tpu.c
@@ -21,8 +21,8 @@ const char *inst_reprs[] = {
};
const char *op_reprs[] = {
- "ACC", "BAK", "NIL", "LEFT", "RIGHT",
- "UP", "DOWN", "ANY", "LAST", "LIT", "<NAME>"
+ "ACC", "NIL", "LEFT", "RIGHT", "UP", "DOWN",
+ "ANY", "LAST", "LIT", "<NAME>"
};
static enum tpu_port_dir
@@ -363,9 +363,6 @@ tpu_exec_get(struct tpu *tpu, struct tpu_inst_op *op)
case OP_ACC:
lit = tpu->acc;
break;
- case OP_BAK:
- lit = tpu->bak;
- break;
case OP_NIL:
lit = 0;
break;
@@ -404,9 +401,6 @@ tpu_exec_put(struct tpu *tpu, struct tpu_inst_op *op, uint8_t lit)
case OP_ACC:
tpu->acc = lit;
break;
- case OP_BAK:
- tpu->bak = lit;
- break;
case OP_NIL:
break;
case OP_LEFT: case OP_RIGHT: case OP_UP: case OP_DOWN: