Re: [hatari-devel] Code execution discontinuities and detecting them?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On tiistai 26 helmikuu 2013, Nicolas Pomarède wrote:
> Regarding your function cpu_opcode_type(), I think that instead of
> masking opcodes yourself you should use OpcodeFamily (which is updated
> for each instruction, see cpuemu.c) with the constants instrmnem defined
> in readcpu.h
>
> You should get the same results, and this will leave the family's
> classification to the cpu emulation part instead of duplicating it
> partly in your code.

I didn't know about that, thanks, I will use it.  It will make
code also more readable. :-)

I noticed that there's CHK2 in addition to CHK, is that for
CPUs > 68000?


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/