Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUB.L timing mismatch #60

Open
dirkwhoffmann opened this issue Dec 27, 2019 · 0 comments
Open

SUB.L timing mismatch #60

dirkwhoffmann opened this issue Dec 27, 2019 · 0 comments

Comments

@dirkwhoffmann
Copy link

Instruction: sub.l D0,D0

Test case: sub2

https://github.com/dirkwhoffmann/vAmigaTS/tree/master/CPU/SUB/sub2

Musashi (vAmiga):

sub2_vAmiga

A real Amiga 500+ 🥰:

sub2_A500+

Conclusion:

	{m68k_op_sub_32_er_d         , 0xf1f8, 0x9080, {  6,   6,   2,   2}},
	{m68k_op_sub_32_er_a         , 0xf1f8, 0x9088, {  6,   6,   2,   2}},
	{m68k_op_add_32_er_d         , 0xf1f8, 0xd080, {  6,   6,   2,   2}},
	{m68k_op_add_32_er_a         , 0xf1f8, 0xd088, {  6,   6,   2,   2}},

must be:

	{m68k_op_sub_32_er_d         , 0xf1f8, 0x9080, {  8,   6,   2,   2}},
	{m68k_op_sub_32_er_a         , 0xf1f8, 0x9088, {  8,   6,   2,   2}},
	{m68k_op_add_32_er_d         , 0xf1f8, 0xd080, {  8,   6,   2,   2}},
	{m68k_op_add_32_er_a         , 0xf1f8, 0xd088, {  8,   6,   2,   2}},

I cannot say anything reliable about 68010 timing though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant