Fixed a few old bugs
- Fixed a where the VM excuted one loop regardless of instructions. - Use the full 32 bits if an instruction is less.
This commit is contained in:
parent
b825931ce5
commit
13069b7ebd
2 changed files with 8 additions and 4 deletions
|
@ -35,6 +35,10 @@ impl AssemblerInstruction {
|
|||
}
|
||||
}
|
||||
|
||||
while results.len() < 4 {
|
||||
results.push(0);
|
||||
}
|
||||
|
||||
results
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue