mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-03-01 03:29:37 +00:00
Put i8080 instructions into their own region
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
8f18a128cd
commit
ad9d37237f
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user