ITState: Handle not-in-IT-block case in Cond

This commit is contained in:
MerryMage 2021-02-07 14:17:46 +00:00
parent 946dbb5818
commit 5e75bd41a4

View file

@ -22,6 +22,9 @@ public:
}
IR::Cond Cond() const {
if (value == 0b00000000) {
return IR::Cond::AL;
}
return static_cast<IR::Cond>(Common::Bits<4, 7>(value));
}