wm: 5552

Download patch

ref: 90361ec4ee72e3f2944e6e326d51678f3f73830c
parent: 0872214890c6e7ca117c2393b62931812824338f
author: mkf <mkf@d510>
date: Fri May 5 13:54:19 EDT 2023

err, update 5551a

--- a/5551a.c
+++ b/5551a.c
@@ -2,25 +2,8 @@
 #include <stdio.h>
 #include <string.h>
 
-/* ops */
-enum
-{
-	DIE, /* drop dead */
-	OUT,
-	NOT,
-	AND,
-	NOR,
-	XOR,
-	SUB,
-	ADD,
-	SHR,
-	SHL,
-	PUT, /* stores something in memory */
-	MOV, /* move stuff from a reg to memory */
-	CPY, /* copy from a memory address to another */
-	LDM, /* load from memory into register */
-	NTH, /* returns the Nth bit */
-};
+#include "5555.h"
+
 
 int main(int argc, char* argv[])
 {