mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-15 14:27:29 +00:00
Fix MOVEP to register.
Advance to lack of MOVEM.
This commit is contained in:
@@ -422,7 +422,7 @@ void Executor<model, BusHandler>::movep(Preinstruction instruction, uint32_t sou
|
|||||||
reg = bus_handler_.template read<uint8_t>(address) << 24;
|
reg = bus_handler_.template read<uint8_t>(address) << 24;
|
||||||
address += 2;
|
address += 2;
|
||||||
|
|
||||||
reg |= bus_handler_.template read<uint8_t>(address) << 26;
|
reg |= bus_handler_.template read<uint8_t>(address) << 16;
|
||||||
address += 2;
|
address += 2;
|
||||||
} else {
|
} else {
|
||||||
reg &= 0xffff0000;
|
reg &= 0xffff0000;
|
||||||
|
@@ -42,6 +42,8 @@
|
|||||||
// lea
|
// lea
|
||||||
// lslr_aslr_roxlr_rolr
|
// lslr_aslr_roxlr_rolr
|
||||||
// move_tofrom_srccr
|
// move_tofrom_srccr
|
||||||
|
// move
|
||||||
|
// movep
|
||||||
|
|
||||||
// Issues to fix:
|
// Issues to fix:
|
||||||
//
|
//
|
||||||
@@ -70,8 +72,8 @@
|
|||||||
|
|
||||||
- (void)setUp {
|
- (void)setUp {
|
||||||
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
|
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
|
||||||
_fileSet = [NSSet setWithArray:@[@"move.json"]];
|
_fileSet = [NSSet setWithArray:@[@"movem.json"]];
|
||||||
// _testSet = [NSSet setWithArray:@[@"MOVE[A] 033c"]];
|
// _testSet = [NSSet setWithArray:@[@"MOVE[A] 0148"]];
|
||||||
// _fileSet = [NSSet setWithArray:@[@"jmp_jsr.json"]];
|
// _fileSet = [NSSet setWithArray:@[@"jmp_jsr.json"]];
|
||||||
// _testSet = [NSSet setWithArray:@[@"CHK 41a8"]];
|
// _testSet = [NSSet setWithArray:@[@"CHK 41a8"]];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user