From 811c043cae4f45b6e3cb890aa4146cc12dc91f70 Mon Sep 17 00:00:00 2001 From: Erin Date: Fri, 10 Nov 2023 09:51:01 +0100 Subject: [PATCH] Fixed assembler register symbols --- hbasm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbasm/src/lib.rs b/hbasm/src/lib.rs index c4a7c87..440de14 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); }