Simplify register16_t usage a little.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2018-09-16 12:00:29 +01:00
parent 6256d0bf8d
commit fe3794e011
11 changed files with 43 additions and 44 deletions

View File

@@ -33,9 +33,9 @@ std::string EightBit::Disassembler::state(Intel8080& cpu) {
std::ostringstream output;
output
<< "PC=" << hex(pc.word)
<< "PC=" << pc
<< " "
<< "SP=" << hex(sp.word)
<< "SP=" << sp
<< " " << "A=" << hex(a) << " " << "F=" << flags(f)
<< " " << "B=" << hex(b) << " " << "C=" << hex(c)
<< " " << "D=" << hex(d) << " " << "E=" << hex(e)