Searched refs:SIGN_EXTEND24 (Results 1 – 10 of 10) sorted by relevance
/dports/emulators/mess/mame-mame0226/src/devices/cpu/sharc/ |
H A D | sharcdsm.cpp | 99 #define SIGN_EXTEND24(x) ((x & 0x800000) ? (0xff000000 | x) : x) macro 716 util::stream_format(stream, " (0x%08X)", pc + SIGN_EXTEND24(addr)); in dasm_direct_jump() 878 util::stream_format(stream, "DO (0x%08X)", pc + SIGN_EXTEND24(addr)); in dasm_do_until_counter() 883 util::stream_format(stream, "DO (0x%08X) UNTIL LCE", pc + SIGN_EXTEND24(addr)); in dasm_do_until_counter() 893 …util::stream_format(stream, "DO (0x%08X) UNTIL %s", pc + SIGN_EXTEND24(addr), condition_codes_do[t… in dasm_do_until()
|
H A D | sharcops.hxx | 4 #define SIGN_EXTEND24(x) (((x) & 0x800000) ? (0xff000000 | (x)) : (x)) macro 1825 CHANGE_PC_DELAYED(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_call() 1830 CHANGE_PC(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_call() 1867 CHANGE_PC_DELAYED(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_jump() 1871 CHANGE_PC(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_jump() 2371 int offset = SIGN_EXTEND24(m_core->opcode & 0xffffff); in sharcop_do_until_counter_imm() 2405 int offset = SIGN_EXTEND24(m_core->opcode & 0xffffff); in sharcop_do_until_counter_ureg() 2439 int offset = SIGN_EXTEND24(m_core->opcode & 0xffffff); in sharcop_do_until()
|
H A D | sharcfe.cpp | 329 desc.targetpc = desc.pc + SIGN_EXTEND24(address); in describe() 429 int offset = SIGN_EXTEND24(opcode & 0xffffff); in describe() 448 int offset = SIGN_EXTEND24(opcode & 0xffffff); in describe() 463 int offset = SIGN_EXTEND24(opcode & 0xffffff); in describe()
|
H A D | sharc.h | 56 #define SIGN_EXTEND24(x) (((x) & 0x800000) ? (0xff000000 | (x)) : (x)) macro
|
H A D | sharcdrc.cpp | 2353 int offset = SIGN_EXTEND24(opcode & 0xffffff); in generate_opcode() 2374 int offset = SIGN_EXTEND24(opcode & 0xffffff); in generate_opcode() 2395 int offset = SIGN_EXTEND24(opcode & 0xffffff); in generate_opcode()
|
/dports/emulators/mame/mame-mame0226/src/devices/cpu/sharc/ |
H A D | sharcdsm.cpp | 99 #define SIGN_EXTEND24(x) ((x & 0x800000) ? (0xff000000 | x) : x) macro 716 util::stream_format(stream, " (0x%08X)", pc + SIGN_EXTEND24(addr)); in dasm_direct_jump() 878 util::stream_format(stream, "DO (0x%08X)", pc + SIGN_EXTEND24(addr)); in dasm_do_until_counter() 883 util::stream_format(stream, "DO (0x%08X) UNTIL LCE", pc + SIGN_EXTEND24(addr)); in dasm_do_until_counter() 893 …util::stream_format(stream, "DO (0x%08X) UNTIL %s", pc + SIGN_EXTEND24(addr), condition_codes_do[t… in dasm_do_until()
|
H A D | sharcops.hxx | 4 #define SIGN_EXTEND24(x) (((x) & 0x800000) ? (0xff000000 | (x)) : (x)) macro 1825 CHANGE_PC_DELAYED(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_call() 1830 CHANGE_PC(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_call() 1867 CHANGE_PC_DELAYED(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_jump() 1871 CHANGE_PC(m_core->pc + SIGN_EXTEND24(address)); in sharcop_relative_jump() 2371 int offset = SIGN_EXTEND24(m_core->opcode & 0xffffff); in sharcop_do_until_counter_imm() 2405 int offset = SIGN_EXTEND24(m_core->opcode & 0xffffff); in sharcop_do_until_counter_ureg() 2439 int offset = SIGN_EXTEND24(m_core->opcode & 0xffffff); in sharcop_do_until()
|
H A D | sharcfe.cpp | 329 desc.targetpc = desc.pc + SIGN_EXTEND24(address); in describe() 429 int offset = SIGN_EXTEND24(opcode & 0xffffff); in describe() 448 int offset = SIGN_EXTEND24(opcode & 0xffffff); in describe() 463 int offset = SIGN_EXTEND24(opcode & 0xffffff); in describe()
|
H A D | sharc.h | 56 #define SIGN_EXTEND24(x) (((x) & 0x800000) ? (0xff000000 | (x)) : (x)) macro
|
H A D | sharcdrc.cpp | 2353 int offset = SIGN_EXTEND24(opcode & 0xffffff); in generate_opcode() 2374 int offset = SIGN_EXTEND24(opcode & 0xffffff); in generate_opcode() 2395 int offset = SIGN_EXTEND24(opcode & 0xffffff); in generate_opcode()
|