diff --git a/src/parse.rs b/src/parse.rs index 6fa4085..5a1d42f 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -29,7 +29,7 @@ pub fn parse_asm<'a>(pairs: Pairs<'a, Rule>) -> Vec> { instruction_counter += 1; } - if instruction_counter > 15 { + if instruction_counter > 16 { panic!("This program contains more than 16 instructions, that is impossible on this processor"); } }