ref: 379ff75027638c0b0f3f844c286ef38aeaebfb89
parent: 198ac4e7f585d07df010456ad25ffcd047f6340d
author: mkf <mkf@cloud9p.org>
date: Wed Jul 3 07:28:49 EDT 2024
delete 5551
--- a/5551.h
+++ /dev/null
@@ -1,43 +1,0 @@
-#define MMAX ( 1 << 8 )
-
-/* ops */
-enum
-{
- /* machine related */
- DIE, /* drop dead */
- OUT,
-
- /* logical */
- NOT,
- AND,
- NOR,
- XOR,
-
- /* arithmatic */
- SUB,
- ADD,
- INC,
- DEC,
-
- /* shift */
- SHR,
- SHL,
-
- /* memory */
- PUT, /* stores something in reg */
- MOV, /* copy stuff from a reg to memory */
- LDM, /* load from memory into register */
- NTH, /* returns the Nth bit */
-};
-
-/* registers */
-enum
-{
- NUL,
- CARRY,
- OVERFLOW,
- NSIGN,
- PARITY,
- MODE, /* int or bool */
- ON, /* false in case of fatal errors, can be used as a source of 1s */
-};