Fixed assembler register symbols

This commit is contained in:
Erin 2023-11-10 09:51:01 +01:00
parent 398687d8bf
commit aca8045a98

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);
} }