Previous 15994 Revisions Next

r9559 Friday 12th November, 2010 at 17:13:51 UTC by Fabio Priuli
Corrected two opcodes in tms7000 CPU: typo in inv_b
and JPZ was wrong in official TI document. [Gilles Fetis]
[src/emu/cpu/tms7000]tms70op.c

src/emu/cpu/tms7000/tms70op.c
r9558r9559
1818 *****************************************************************************/
1919
2020//SJE: Changed all references to ICount to icount (to match MAME requirements)
21//TJL: (From Gilles Fetis) JPZ in TI documentation was wrong:
22//     if ((pSR & SR_N) == 0 && (pSR & SR_Z) != 0)
23//     should be:
24//     if ((pSR & SR_N) == 0)
2125
2226#include "emu.h"
2327
r9558r9559
18711875{
18721876   UINT16 t;
18731877
1874   t = ~(RDA);
1875   WRA(t);
1878   t = ~(RDB);
1879   WRB(t);
18761880
18771881   CLR_NZC;
18781882   SET_N8(t);
r9558r9559
20132017
20142018static void jpz(tms7000_state *cpustate)
20152019{
2016   if ((pSR & SR_N) == 0 && (pSR & SR_Z) != 0)
2020   if ((pSR & SR_N) == 0)
20172021   {
20182022      INT8 s;
20192023

Previous 15994 Revisions Next


© 1998-2018 The MESS Team