mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
(nw) z8: fixed JP @ and CALL @ instructions
This commit is contained in:
parent
7d3082e044
commit
3a949405af
@ -502,7 +502,7 @@ void z8_device::call(uint16_t dst)
|
||||
m_pc = dst;
|
||||
}
|
||||
|
||||
INSTRUCTION( call_IRR1 ) { uint16_t dst = register_pair_read(get_intermediate_register(get_register(fetch()))); call(dst); }
|
||||
INSTRUCTION( call_IRR1 ) { uint16_t dst = register_pair_read(get_register(fetch())); call(dst); }
|
||||
INSTRUCTION( call_DA ) { uint16_t dst = fetch_word(); call(dst); }
|
||||
|
||||
INSTRUCTION( djnz_r1_RA )
|
||||
@ -549,7 +549,7 @@ void z8_device::jump(uint16_t dst)
|
||||
m_pc = dst;
|
||||
}
|
||||
|
||||
INSTRUCTION( jp_IRR1 ) { jump(register_pair_read(IR)); }
|
||||
INSTRUCTION( jp_IRR1 ) { jump(register_pair_read(get_register(IM))); }
|
||||
|
||||
int z8_device::check_condition_code(int cc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user