diff options
author | 2012-07-18 15:31:05 +0000 | |
---|---|---|
committer | 2012-07-18 15:31:05 +0000 | |
commit | 2f5e49e09a0cf8e76cb4162c95a13c62611e1dc2 (patch) | |
tree | 54fab79e8b676d2311384de3434e59d6538fc8e9 /src/emu/cpu/tms32025 | |
parent | 698fbad58d69038a52d4ee1481728fc2d3c871a1 (diff) |
update alu.d on lalk
Diffstat (limited to 'src/emu/cpu/tms32025')
-rw-r--r-- | src/emu/cpu/tms32025/tms32025.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/cpu/tms32025/tms32025.c b/src/emu/cpu/tms32025/tms32025.c index 6f6386c8161..966f386aed0 100644 --- a/src/emu/cpu/tms32025/tms32025.c +++ b/src/emu/cpu/tms32025/tms32025.c @@ -1006,8 +1006,9 @@ static void lalk(tms32025_state *cpustate) { if (SXM) cpustate->ALU.d = (INT16)M_RDOP_ARG(cpustate->PC); else cpustate->ALU.d = (UINT16)M_RDOP_ARG(cpustate->PC); - cpustate->ACC.d = cpustate->ALU.d << (cpustate->opcode.b.h & 0xf); cpustate->PC++; + cpustate->ALU.d <<= (cpustate->opcode.b.h & 0xf); + cpustate->ACC.d = cpustate->ALU.d; } static void lar_ar0(tms32025_state *cpustate) { GETDATA(cpustate, 0, 0); cpustate->AR[0] = cpustate->ALU.w.l; } static void lar_ar1(tms32025_state *cpustate) { GETDATA(cpustate, 0, 0); cpustate->AR[1] = cpustate->ALU.w.l; } |