diff --git a/Intel8080/src/Intel8080.cpp b/Intel8080/src/Intel8080.cpp index 2850369..a11ad78 100644 --- a/Intel8080/src/Intel8080.cpp +++ b/Intel8080/src/Intel8080.cpp @@ -377,6 +377,8 @@ void EightBit::Intel8080::xhtl() { #pragma endregion Miscellaneous instructions +#pragma region I/O instructions + void EightBit::Intel8080::out() { m_ports.write(fetchByte(), A()); } @@ -385,6 +387,8 @@ void EightBit::Intel8080::in() { A() = m_ports.read(fetchByte()); } +#pragma endregion I/O instructions + int EightBit::Intel8080::step() { ExecutingInstruction.fire(*this); return execute(fetchByte());