chore: misc style improvements

This commit is contained in:
2022-05-27 22:09:15 -03:00
parent 4006888629
commit 38afb567b9
5 changed files with 24 additions and 88 deletions

View File

@@ -451,7 +451,6 @@ inline fn thumbIdx(opcode: u16) u10 {
}
pub fn checkCond(cpsr: PSR, cond: u4) bool {
// TODO: Should I implement an enum?
return switch (cond) {
0x0 => cpsr.z.read(), // EQ - Equal
0x1 => !cpsr.z.read(), // NE - Not equal