r16/emu/cpu_human.h

53 lines
633 B
C
Raw Permalink Normal View History

2024-04-22 11:08:57 +00:00
#ifndef EMU_CPU_HUMAN_H
#define EMU_CPU_HUMAN_H
char CpuRegistersHumanReadable[9][4] =
{
"R0",
"R1",
"R2",
"R3",
"R4",
"ACU",
"PC",
"SP"
};
char ArgumentInfoHumanReadable[4][21] =
{
"Value",
"Value in register",
"Value in ram",
"Pointer in register"
};
char CpuInstructionsHumanReadable[25][4] =
{
"HLT",
"ADD",
"SUB",
"MUL",
"DIV",
"LBS",
"RBS",
"BAN",
"BOR",
"BXO",
"BNO",
"PUS",
"POP",
"JMP",
"JEQ",
"JNZ",
"CAL",
"RET",
"REG",
"INT",
"INP",
"OUT",
"DIN",
"DOT",
2024-12-10 11:03:41 +00:00
"MOV"
};
2024-04-22 11:08:57 +00:00
#endif