forked from Rativel/BurritOS
memory.txt can be execute
This commit is contained in:
@@ -160,6 +160,7 @@ impl Mem_Checker{
|
||||
pub fn fill_memory_from_Mem_Checker(m_c: &Mem_Checker, machine: &mut Machine){
|
||||
|
||||
machine.sp = m_c.sp;
|
||||
machine.int_reg.set_reg(2, m_c.pc as i64);
|
||||
machine.pc = m_c.pc as u64;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user