mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-06 10:38:16 +00:00
Record only 8 bits for byte accesses.
This commit is contained in:
parent
b848b1389a
commit
de8ce3380c
@ -374,11 +374,9 @@ void print_transactions(FILE *target, const std::vector<Transaction> &transactio
|
||||
|
||||
switch(next->data_strobes) {
|
||||
default: assert(false);
|
||||
case 1: fprintf(target, "\".b\", "); break;
|
||||
case 2: fprintf(target, "\".w\", "); break;
|
||||
break;
|
||||
case 1: fprintf(target, "\".b\", %d", next->value & 0xff); break;
|
||||
case 2: fprintf(target, "\".w\", %d", next->value); break;
|
||||
}
|
||||
fprintf(target, "%d", next->value);
|
||||
|
||||
++next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user