In 8051, one machine cyle = 2 read cycle.
So read cyles for instructions should be multiple of 2.
But instructions like 'setb' is 3 now . (should be 4)
The patch tries to fix it. (Check if m_cycle+1 is multiple of 2 before exec())
Also fixes:
Read 16bit address high / low 8bit shouldn't be different by m_cycle. (This only works when it's the first read operation)
![R1837 patch clock cycle for 8051 instructions should be multiple of 2. Snap311](https://i.servimg.com/u/f90/20/51/86/74/snap311.jpg)
So read cyles for instructions should be multiple of 2.
But instructions like 'setb' is 3 now . (should be 4)
The patch tries to fix it. (Check if m_cycle+1 is multiple of 2 before exec())
Also fixes:
Read 16bit address high / low 8bit shouldn't be different by m_cycle. (This only works when it's the first read operation)
![R1837 patch clock cycle for 8051 instructions should be multiple of 2. Snap311](https://i.servimg.com/u/f90/20/51/86/74/snap311.jpg)
- Attachments
cycle.zip
- You don't have permission to download attachments.
- (2 Kb) Downloaded 2 times