diff --git a/src/main.rs b/src/main.rs index f50facc..0ef6d66 100644 --- a/src/main.rs +++ b/src/main.rs @@ -102,7 +102,7 @@ fn main() -> io::Result<()> { let mut labels: HashMap = HashMap::new(); let mut code: Vec = Vec::new(); - let valid: [&str; 3] = ["BRA", "BRZ", "BRP"]; + let valid: [&str; 10] = ["BRA", "BRZ", "BRP", "OUT", "STA", "SUB", "LDA", "ADD", "INP", "HLT"]; for (index, line) in reader.lines().enumerate() { let line = line?;