aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-01-07 00:45:21 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-01-07 00:45:21 +0100
commitf241be31593ff7e34cc8d415a6faffeb53ef6f54 (patch)
tree24d4f95e324c900404308e541c14f1731937367a
parent6fe6679b816cedbe1f007a1f036cc55ae9214492 (diff)
fix test
-rw-r--r--eval_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_test.go b/eval_test.go
index 1686287..1b46179 100644
--- a/eval_test.go
+++ b/eval_test.go
@@ -141,7 +141,7 @@ func TestNextST0(t *testing.T) {
{ins: ALU{Opcode: opNrshiftT}, st0: 0x3f, state: J1{st0: 0x02, dstack: [0x20]uint16{0, 0xaa, 0xff}, dsp: 2}},
{ins: ALU{Opcode: opTminus1}, st0: 0x54, state: J1{st0: 0x55}},
{ins: ALU{Opcode: opR}, st0: 0x5, state: J1{rstack: [0x20]uint16{0, 0x05}, rsp: 1}},
- {ins: ALU{Opcode: opAtT}, st0: 0x0, state: J1{st0: 0x01, memory: [0x4000]uint16{0, 5, 10}}},
+ {ins: ALU{Opcode: opAtT}, st0: 0x5, state: J1{st0: 0x02, memory: [0x4000]uint16{0, 5, 10}}},
{ins: ALU{Opcode: opNlshiftT}, st0: 0x3fc, state: J1{st0: 0x02, dstack: [0x20]uint16{0, 0xaa, 0xff}, dsp: 2}},
{ins: ALU{Opcode: opDepth}, st0: 0x305, state: J1{rsp: 3, dsp: 5}},
{ins: ALU{Opcode: opNuleT}, st0: 0xffff, state: J1{st0: 0xff, dstack: [0x20]uint16{0, 0xaa, 0xbb}, dsp: 2}},