Tidy up register and static method access.

Signed-off-by: Adrian.Conlon <adrian.conlon@arup.com>
This commit is contained in:
Adrian.Conlon
2017-06-19 13:53:00 +01:00
parent 23108a8536
commit c9bf24d1fa
16 changed files with 181 additions and 171 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ int EightBit::Intel8080::execute(uint8_t opcode) {
//
void EightBit::Intel8080::___() {
auto opcode = m_memory.get(pc.word - 1);
auto opcode = m_memory.get(PC().word - 1);
auto message = Disassembler::invalid(opcode);
throw std::domain_error(message);
}