Fixed assembler register symbols
This commit is contained in:
parent
398687d8bf
commit
aca8045a98
|
@ -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