diff --git a/hbasm/src/lib.rs b/hbasm/src/lib.rs index c4a7c875..440de14a 100644 --- a/hbasm/src/lib.rs +++ b/hbasm/src/lib.rs @@ -23,7 +23,7 @@ pub fn assembler( label::setup(&mut engine, &mut module, Rc::clone(&obj)); // Registers - for n in 0_u8..255 { + for n in 0_u8..=255 { module.set_var(format!("r{n}"), n); }