mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Attempt better to print DirectAddress
s.
This commit is contained in:
parent
6f5fcf23dc
commit
406c838c39
@ -139,6 +139,13 @@ constexpr char TestSuiteHome[] = "/Users/tharte/Projects/ProcessorTests/8088/v1"
|
||||
std::setfill('0') << std::setw(4) << std::uppercase << std::hex << instruction.offset() << 'h' <<
|
||||
']'
|
||||
).str();
|
||||
|
||||
case Source::DirectAddress:
|
||||
return (std::stringstream() <<
|
||||
'[' <<
|
||||
to_hex(instruction.operand(), 4) <<
|
||||
']'
|
||||
).str();
|
||||
}
|
||||
|
||||
return operand;
|
||||
|
Loading…
Reference in New Issue
Block a user