I read that since CPU is fast & flash is slower so when CPU send a request to read data memory from a particular address, flash can send wait cycles & after then it sends ready s/g then after CPU reads data .
Let 8051 has 2 WS
So normally like ADD instruction in 8051 is suppose 2MC. Means 24 oscillator cycle. Does that these 24 cycles has 2 WS cucles with it.
So it is time CPU takes to execute only not read the instruction.
So a program like takes cycles
ADD A,R1 /* 2MC(24 cycles) + 2WS cycles */
SUB A,B /* 2MC(24 cycles) + 2WS cycles */
Let 8051 has 2 WS
So normally like ADD instruction in 8051 is suppose 2MC. Means 24 oscillator cycle. Does that these 24 cycles has 2 WS cucles with it.
So it is time CPU takes to execute only not read the instruction.
So a program like takes cycles
ADD A,R1 /* 2MC(24 cycles) + 2WS cycles */
SUB A,B /* 2MC(24 cycles) + 2WS cycles */