mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Merge pull request #247 from felipesanches/fix_AVR8_EIJMP_instruction
fix the implementation of the AVR8 EIJMP instruction
This commit is contained in:
commit
92775ea014
@ -3541,7 +3541,7 @@ void avr8_device::execute_run()
|
||||
opcycles = 2;
|
||||
break;
|
||||
case 0x0010: // EIJMP
|
||||
m_pc = ZREG + m_r[AVR8_REGIDX_EIND] - 1;
|
||||
m_pc = (m_r[AVR8_REGIDX_EIND] << 16 | ZREG) - 1;
|
||||
opcycles = 2;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user