A little CPU made in C# running ASM
LOAD (reg, val)=1- Loadsvalin toregADD (reg, imm)=2- Addsimmtoreg(addition)JMP (addr)=3- Sets the pc(program counter) toaddrJZ (addr)=4- IF ZF equals zero, jump to addrCMP (reg, reg)=5- Comparesregwithreg(then sets ZF)CLR (val)=6- Clear all registers tovalINT (imm)=7- Interrupt, calls a function based on theimmHALT ()=99- Halts the CPU
raic.e: CPU and Raylib functions (framebuffer)
nixxlte: Assembly 8086 interpreter and compiler, and Raylib functions (keyboard)