1
0
forked from Rativel/BurritOS

print_memory dans Machine

This commit is contained in:
Baptiste
2023-03-01 15:11:35 +01:00
parent f6ff30b63c
commit 73c49414ff
5 changed files with 19 additions and 10 deletions

View File

@@ -232,11 +232,11 @@ fn one_hex_to_dec(c: char) -> u8 {
'E' | 'e' => 14,
'F' | 'f' => 15,
_ => {
let ret : u8 = c.to_digit(10).unwrap() as u8;
let ret : u8 = c.to_digit(10).unwrap() as u8;
return ret;
},
}
},
}
}