Skip to content
Snippets Groups Projects

WIP: Master

Files

@@ -106,7 +106,7 @@ public class Machine
private int parseReg(String s) throws InvalidInstructionException
{
if (s.length() < 2){
if (s.length() < 3){
throw new InvalidInstructionException();
}
if (s.charAt(0) != 'r'){
Loading