mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-07-15 21:24:03 +00:00
Refactor bit set/get routines from processor class to lower level chip class.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -448,11 +448,11 @@ std::string EightBit::Disassembler::flags(uint8_t value) {
|
||||
output
|
||||
<< flag(value, Intel8080::SF, "S")
|
||||
<< flag(value, Intel8080::ZF, "Z")
|
||||
<< flag(value, Processor::Bit5, "1", "0")
|
||||
<< flag(value, Chip::Bit5, "1", "0")
|
||||
<< flag(value, Intel8080::AC, "A")
|
||||
<< flag(value, Processor::Bit3, "1", "0")
|
||||
<< flag(value, Chip::Bit3, "1", "0")
|
||||
<< flag(value, Intel8080::PF, "P")
|
||||
<< flag(value, Processor::Bit1, "1", "0")
|
||||
<< flag(value, Chip::Bit1, "1", "0")
|
||||
<< flag(value, Intel8080::CF, "C");
|
||||
return output.str();
|
||||
}
|
||||
|
Reference in New Issue
Block a user