Fix receiving more than 6 arguments, allow calling functions with more than 6 arguments

This commit is contained in:
Jef
2018-12-12 13:23:43 +01:00
parent 86353cba5e
commit 189996accd
4 changed files with 107 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ pub fn disassemble(mem: &[u8]) -> Result<(), Error> {
for b in i.bytes() {
write!(&mut bytes_str, "{:02x} ", b).unwrap();
}
write!(&mut line, "{:21}\t", bytes_str).unwrap();
write!(&mut line, "{:24}\t", bytes_str).unwrap();
if let Some(s) = i.mnemonic() {
write!(&mut line, "{}\t", s).unwrap();