From 8c0b7ea39d57cb6c80cf66207291837d95c71940 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 5 Apr 2021 13:32:41 -0700 Subject: Change the null byte from no-op to halt. --- asm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asm.rb') diff --git a/asm.rb b/asm.rb index 686f9c1..c94ecf7 100755 --- a/asm.rb +++ b/asm.rb @@ -12,7 +12,7 @@ OPCODES = { "++acc" => 0x002, "--acc" => 0x004, "tx" => 0x040, - "halt" => 0x080, + "halt" => 0x000, } Line = Struct.new(:opcode, :refs, :code) -- cgit v1.2.3