init cpu function
This commit is contained in:
@@ -173,4 +173,8 @@ void tinyriscv_step(tinyriscv_Cpu* cpu){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void tinyriscv_init(tinyriscv_Cpu* cpu){
|
||||||
|
cpu->pc = MEM_OFFSET;
|
||||||
|
}
|
||||||
|
|
||||||
#endif //TINYRISCV_H
|
#endif //TINYRISCV_H
|
||||||
Reference in New Issue
Block a user