Fixed assembler register symbols
This commit is contained in:
parent
dc207ca3f4
commit
811c043cae
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue