Fix AddressError in RW_N when address is od
This commit is contained in:
parent
94c72d28a6
commit
5993b73e6e
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ class PDP11:
|
|||
"""Like physRW but for nwords at a time."""
|
||||
|
||||
if (physaddr & 1):
|
||||
raise PDPTraps.AddressError(cpuerr=self.cpu.CPUERR_BITS.ODDADDR)
|
||||
raise PDPTraps.AddressError(cpuerr=self.CPUERR_BITS.ODDADDR)
|
||||
physaddr >>= 1 # physical mem is an array of WORDs
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue