1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 02:17:08 +00:00

Imports CMP tests, and fixes CMP.l timing.

This commit is contained in:
Thomas Harte
2019-06-26 22:02:04 -04:00
parent dbdbea85c2
commit 538aecb46e
2 changed files with 77 additions and 2 deletions
@@ -2027,12 +2027,15 @@ struct ProcessorStorageConstructor {
default: continue;
case bw(Dn): // CMP.bw Dn, Dn
case l(Dn): // CMP.l Dn, Dn
case bw(An): // CMP.w An, Dn
case l(An): // CMP.l An, Dn
op(Action::PerformOperation, seq("np"));
break;
case l(Dn): // CMP.l Dn, Dn
case l(An): // CMP.l An, Dn
op(Action::PerformOperation, seq("np n"));
break;
case bw(Ind): // CMP.bw (An), Dn
case bw(PostInc): // CMP.bw (An)+, Dn
op(Action::None, seq("nr np", { a(ea_register) }, !is_byte_access));