Finished CPU instructions and created ui window.
This commit is contained in:
@ -92,4 +92,12 @@ void cpu_set_reg8(reg_type rt, u8 val) {
|
||||
|
||||
cpu_registers *cpu_get_regs() {
|
||||
return &ctx.regs;
|
||||
}
|
||||
|
||||
u8 cpu_get_int_flags(){
|
||||
return ctx.int_flags;
|
||||
}
|
||||
|
||||
void cpu_set_int_flags(u8 value){
|
||||
ctx.int_flags = value;
|
||||
}
|
Reference in New Issue
Block a user