minor bugfixes

This commit is contained in:
Mwa
2026-03-16 18:10:43 +01:00
parent 636ff0a430
commit cd2e5319bc
3 changed files with 12 additions and 3 deletions

View File

@@ -579,6 +579,10 @@ fn process_line(prgm: &mut Program, (linenum, line): (usize, String), rgx: &Rege
chk(2);
Instruction::Xor(reg(0), reg(1), Op2::Direct(-1))
}
"swi" => {
chk(0);
Instruction::Swi()
}
"let" => {
chk(2);
let r = reg(0);