1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Fix MOVEP to register.

Advance to lack of MOVEM.
This commit is contained in:
Thomas Harte 2022-05-05 12:37:47 -04:00
parent f63a872387
commit 70cdc2ca9f
2 changed files with 5 additions and 3 deletions

View File

@ -422,7 +422,7 @@ void Executor<model, BusHandler>::movep(Preinstruction instruction, uint32_t sou
reg = bus_handler_.template read<uint8_t>(address) << 24;
address += 2;
reg |= bus_handler_.template read<uint8_t>(address) << 26;
reg |= bus_handler_.template read<uint8_t>(address) << 16;
address += 2;
} else {
reg &= 0xffff0000;

View File

@ -42,6 +42,8 @@
// lea
// lslr_aslr_roxlr_rolr
// move_tofrom_srccr
// move
// movep
// Issues to fix:
//
@ -70,8 +72,8 @@
- (void)setUp {
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
_fileSet = [NSSet setWithArray:@[@"move.json"]];
// _testSet = [NSSet setWithArray:@[@"MOVE[A] 033c"]];
_fileSet = [NSSet setWithArray:@[@"movem.json"]];
// _testSet = [NSSet setWithArray:@[@"MOVE[A] 0148"]];
// _fileSet = [NSSet setWithArray:@[@"jmp_jsr.json"]];
// _testSet = [NSSet setWithArray:@[@"CHK 41a8"]];
}