Enable CPU instruction/register tracing for the given items.
9
<item> can be one of the following:
10
"instr": to trace instructions
11
<reg>: an 8 or 16 bit register name like 'A', 'B' or 'HL', 'PC'
12
the same list of registers as accepted by the 'reg' command
13
14
For example execute:
15
cpu_trace instr A HL
16
to trace the instruction together with the A and HL register.
17
18
To disable tracing again execute:
19
cpu_trace
20
so pass no arguments (no enabled items).
21
22
Note this can be expensive and/or can quickly consume a lot of memory. The Z80 (and certainly R800) can execute almost 1 million instructions per second. So it's recommended to only enable those items you need and limit the trace duration to less than a minute.