mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
spc700ds.c: fix disassembly of BRK opcode [Lord Nightmare, jwdonal]
This commit is contained in:
parent
826d9bc6e3
commit
cc9274b5ba
@ -429,7 +429,7 @@ INLINE void write_16_direct(spc700i_cpu *cpustate, uint address, uint value)
|
||||
#define OPER_16_XII(cpustate) read_16_XI(EA_XII(cpustate))
|
||||
#define OPER_16_YI(cpustate) read_16_YI(EA_YI(cpustate))
|
||||
|
||||
/* Effective Address Caluclations */
|
||||
/* Effective Address Calculations */
|
||||
INLINE uint EA_IMM(spc700i_cpu *cpustate) {return REG_PC++;}
|
||||
INLINE uint EA_IMM16(spc700i_cpu *cpustate) {REG_PC += 2; return REG_PC-2;}
|
||||
INLINE uint EA_ABS(spc700i_cpu *cpustate) {return OPER_16_IMM(cpustate);}
|
||||
|
@ -80,7 +80,7 @@ static const opcode_struct g_opcodes[256] =
|
||||
/* 0C */ {ASL , {ABS , IMP }},
|
||||
/* 0D */ {PUSH , {PSW , IMP }},
|
||||
/* 0E */ {TSET1 , {ABS , IMP }},
|
||||
/* 0F */ {BRK , {IMM , IMP }},
|
||||
/* 0F */ {BRK , {IMP , IMP }},
|
||||
/* 10 */ {BPL , {REL , IMP }},
|
||||
/* 11 */ {TCALL , {N1 , IMP }},
|
||||
/* 12 */ {CLR1 , {DP0 , IMP }},
|
||||
|
Loading…
Reference in New Issue
Block a user