noki - minimal instruction set cpu emulator
NOP, MOV, LDI, ADD, SUB, MUL, AND, OR, XOR, JMP, CMP, JZ, HLT
register count: 12 memory: 1024 (will be expanded to at least 64kb)
instruction format: [OPCODE 4 bits] [DST 3] [SRC 3] [EXT 6]
use python3 compiler.py <in.s> <out.bin> to compile a program, see programs/directory for example programs. to run the program, usecargo run `
when using CMP, the output will be set on R11