mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-27 02:49:42 +00:00
allow unaligned lmw/stmw
This commit is contained in:
parent
51fc1905c4
commit
6f94fdd7b0
@ -587,7 +587,7 @@ void powerpc_cpu::execute_loadstore_multiple(uint32 opcode)
|
||||
const uint32 a = RA::get(this, opcode);
|
||||
const uint32 d = DP::get(this, opcode);
|
||||
uint32 ea = a + d;
|
||||
|
||||
/*
|
||||
// FIXME: generate exception if ea is not word-aligned
|
||||
if ((ea & 3) != 0) {
|
||||
#ifdef SHEEPSHAVER
|
||||
@ -598,7 +598,7 @@ void powerpc_cpu::execute_loadstore_multiple(uint32 opcode)
|
||||
abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
*/
|
||||
int r = LD ? rD_field::extract(opcode) : rS_field::extract(opcode);
|
||||
while (r <= 31) {
|
||||
if (LD)
|
||||
|
Loading…
Reference in New Issue
Block a user