init cpu function

This commit is contained in:
inixyz
2023-10-10 23:36:46 +03:00
parent 0d3a507e56
commit 7a67f2e549

View File

@@ -173,4 +173,8 @@ void tinyriscv_step(tinyriscv_Cpu* cpu){
}
}
void tinyriscv_init(tinyriscv_Cpu* cpu){
cpu->pc = MEM_OFFSET;
}
#endif //TINYRISCV_H