debug things

This commit is contained in:
2026-06-16 10:59:48 -06:00
parent 708c4ab593
commit 017a3f5f6d
2 changed files with 2 additions and 9 deletions
+2
View File
@@ -67,7 +67,9 @@ namespace spider {
void CPU::fetchInstr() {
u16 i = _reel->readU16(RI);
RX._u16 = i;
const u16 oc = (i >> 7);
RY._u16 = oc;
_opcode = oc & 0x1FF; // GCC WHY!
_addrm = static_cast<u8>((i >> 2) & 0x1F);
_size = static_cast<u8>(i & 0x3);
@@ -109,10 +109,6 @@ namespace spider {
*_src = ALU0;
}
void CPU::AHM() {
// TODO: Implement AHM
}
void CPU::COM() {
fetchOperDst();
switch (_size) {
@@ -401,9 +397,4 @@ namespace spider {
}
}
void CPU::FBT() {
fetchOperReg();
RF = _dst->_u64; // TODO: Mask accepted flags
}
}