Closed kborowinski closed 4 years ago
Just a hint:
You can view the PC and instructions also in the VARIABLES view:
So then maybe just add T-States to the Disassembly view? And is there a way to increase the disassembly size to more than 8 instructions?
I can add the PC output most probably also to the debug console, just wanted to make you aware of that view.
More than 8 instructions: how many do you have in mind? I could probably make this configurable but this is brute-force disassembly. I.e. as soon as some data comes in the way it is decoding data as instructions. So the probability for this to happen increases for a big number of instructions.
If you can add T-State output to the debug console then there's no need to increase the disassembly view.
Done (at least in develop branch).
Please consider adding PC register and execution time (T-States) to zsim debug console output (similarly to Zesarux remote debugging output).
Note: In case of the CALL [C,NC,Z,NZ,M,P,PE,PE] instruction the T-States should display total execution time of called branch (see picture)