From ad9d37237ff059aff6913e1c2f5603ababb12367 Mon Sep 17 00:00:00 2001 From: "Adrian.Conlon" Date: Sun, 23 Jul 2017 10:26:53 +0100 Subject: [PATCH] Put i8080 instructions into their own region Signed-off-by: Adrian.Conlon --- Intel8080/src/Intel8080.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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());