mirror of
https://bitbucket.org/rslr/miggy-cpu.git
synced 2026-06-13 03:26:29 +00:00
Fixed MOVEM
- register list is fetched before EA resolution - pre/post EA mode MUST use ar indirect register micro-routine
This commit is contained in:
parent
cee4710070
commit
4aad8cbc96
8 changed files with 863 additions and 983 deletions
|
|
@ -44,7 +44,7 @@ public class CoreTest extends Core {
|
|||
for (int i = 0; i < numTests; i++) {
|
||||
boolean skip = checkSkip(i, skips);
|
||||
|
||||
if ((i == 383) && "Bcc".equals(name)) {
|
||||
if ((i == 40) && "MOVEM.w".equals(name)) {
|
||||
toString();
|
||||
}
|
||||
executeBinTest(buffer, skip);
|
||||
|
|
@ -194,7 +194,7 @@ public class CoreTest extends Core {
|
|||
core.write16(value.addr, value.data);
|
||||
}
|
||||
|
||||
core.mpc = 11;
|
||||
core.mpc = execute_trap;
|
||||
core.sswi &= ~(SR_T1 | SR_T0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -179,8 +179,8 @@ public class InstructionTests extends TestCase {
|
|||
test.executeBinTest("MOVEA.w");
|
||||
test.executeBinTest("MOVEA.l");
|
||||
|
||||
// test.executeBinTest("MOVEM.w");
|
||||
// test.executeBinTest("MOVEM.l");
|
||||
test.executeBinTest("MOVEM.w");
|
||||
test.executeBinTest("MOVEM.l");
|
||||
|
||||
test.executeBinTest("MOVEtoCCR");
|
||||
test.executeBinTest("MOVEtoUSP");
|
||||
|
|
|
|||
BIN
miggy-emu/src/test/resources/miggy/cpupoet/MOVEM.l.json.bin
Normal file
BIN
miggy-emu/src/test/resources/miggy/cpupoet/MOVEM.l.json.bin
Normal file
Binary file not shown.
BIN
miggy-emu/src/test/resources/miggy/cpupoet/MOVEM.w.json.bin
Normal file
BIN
miggy-emu/src/test/resources/miggy/cpupoet/MOVEM.w.json.bin
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue