Fixed assembler register symbols

This commit is contained in:
Erin 2023-11-10 09:51:01 +01:00
parent dc207ca3f4
commit 811c043cae

View file

@ -23,7 +23,7 @@ pub fn assembler(
label::setup(&mut engine, &mut module, Rc::clone(&obj)); label::setup(&mut engine, &mut module, Rc::clone(&obj));
// Registers // Registers
for n in 0_u8..255 { for n in 0_u8..=255 {
module.set_var(format!("r{n}"), n); module.set_var(format!("r{n}"), n);
} }