Put i8080 instructions into their own region

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon 2017-07-23 10:26:53 +01:00
parent 8f18a128cd
commit ad9d37237f

View File

@ -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());