More tightening

This commit is contained in:
Reid 'arrdem' McKenzie 2022-12-23 00:06:07 -07:00
parent b7df86ce2a
commit 09bb1854bf

View file

@ -191,17 +191,10 @@ impl Uxn {
// BRK
break 'run;
}
(_, _, 0, 0x00) => {
// LIT1
wst.borrow_mut().push1(self.lda1(self.pc)?)?;
self.pc += 1;
continue 'run;
}
(_, _, 1, 0x00) => {
// LIT2
wst.borrow_mut().push2(self.lda2(self.pc)?)?;
self.pc += 2;
continue 'run;
(_, _, _, 0x00) => {
// LIT
push(wst.clone(), load(self.pc)?)?;
self.pc += if sflag == 1 { 2 } else { 1 };
}
(_, _, _, 0x01) => {
// INC