mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-05 10:28:58 +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) {
|
switch(next->data_strobes) {
|
||||||
default: assert(false);
|
default: assert(false);
|
||||||
case 1: fprintf(target, "\".b\", "); break;
|
case 1: fprintf(target, "\".b\", %d", next->value & 0xff); break;
|
||||||
case 2: fprintf(target, "\".w\", "); break;
|
case 2: fprintf(target, "\".w\", %d", next->value); break;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
fprintf(target, "%d", next->value);
|
|
||||||
|
|
||||||
++next;
|
++next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user