Skip to content
Snippets Groups Projects

WIP: Master

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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