chore: pass destoer's cond_invalid test

This commit is contained in:
2022-04-30 20:41:49 -05:00
parent f2f4bb205a
commit 640b1f7c5d
2 changed files with 2 additions and 2 deletions

View File

@@ -459,7 +459,7 @@ pub fn checkCond(cpsr: PSR, cond: u4) bool {
0xC => !cpsr.z.read() and (cpsr.n.read() == cpsr.v.read()), // GT - Greater than
0xD => cpsr.z.read() or (cpsr.n.read() != cpsr.v.read()), // LE - Less than or equal
0xE => true, // AL - Always
0xF => std.debug.panic("[CPU/Cond] 0xF is a reserved condition field", .{}),
0xF => false, // NV - Never (reserved in ARMv3 and up, but seems to have not changed?)
};
}