Changes

Z80

99 bytes added, 07:42, 9 September 2024
/* Timings */
== Timings ==
 
The NOP instruction takes 4 cycles. This is the minimum amount of cycles an instruction can take.
Instructions IN r,(C) and OUT (C),r surprisingly take 4 NOPs with CPC timings, even though they are listed as 12 (4,4,4) cycles in the datasheet. This happens because I/O access is not aligned with memory access. On Zilog manual, it is precised that one wait-state TW is automatically inserted after T2 on I/O access.
13,173
edits