Martin Hepperle
Experienced Member
- Joined
- Nov 10, 2014
- Messages
- 203
I try to find out how many clock cycles are required by different CPUs of the 80x86 family for incrementing a 16-bit word at an even memory address like so:
So far I came up with this table:
I read the Intel manuals but do not really understand the extra cycles added in case of the 8088 and 8086.
My calculation for the 8088 and 8086 seems to be excessive.
I also guess that any wait states/cycles would also be added to these memory access operations.
Maybe someone can correct my cycle count table?
Thank you,
Martin
Code:
INC WORD PTR [0002]
So far I came up with this table:
Code:
INC mem 8088: 15+6+2+4 cycles 15+EA + 2(transfer) + 4(for 16-bit)
8086: 15+6 cycles 15+EA (assuming even aligment)
80286: 7 cycles
80386: 6 cycles
80486: 3 cycles
I read the Intel manuals but do not really understand the extra cycles added in case of the 8088 and 8086.
My calculation for the 8088 and 8086 seems to be excessive.
I also guess that any wait states/cycles would also be added to these memory access operations.
Maybe someone can correct my cycle count table?
Thank you,
Martin