Merge branch 'decode_print' of https://gitlab.istic.univ-rennes1.fr/simpleos/burritos into decode_print
This commit is contained in:
commit
b5690a7f57
@ -107,11 +107,11 @@ impl Mem_Checker{
|
||||
|
||||
let current_line = line.unwrap();
|
||||
|
||||
if i == 0 {
|
||||
if i == current_line.len()-2 {
|
||||
//Lecture de PC
|
||||
pc = string_hex_to_usize(¤t_line);
|
||||
}
|
||||
else if i == 1 {
|
||||
else if i == current_line.len()-1 {
|
||||
//Lecture SP
|
||||
sp = string_hex_to_usize(¤t_line);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user