mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Sign-extends (xxx).w addresses.
This commit is contained in:
parent
5b5bfc8445
commit
7bd7f3fb73
@ -1797,11 +1797,11 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform> void Proces
|
||||
|
||||
case int(MicroOp::Action::AssembleWordAddressFromPrefetch) | MicroOp::SourceMask:
|
||||
// Assumption: this will be assembling right at the start of the instruction.
|
||||
effective_address_[0] = prefetch_queue_.halves.low.full;
|
||||
effective_address_[0] = int16_t(prefetch_queue_.halves.low.full);
|
||||
break;
|
||||
|
||||
case int(MicroOp::Action::AssembleWordAddressFromPrefetch) | MicroOp::DestinationMask:
|
||||
effective_address_[1] = prefetch_queue_.halves.low.full;
|
||||
effective_address_[1] = int16_t(prefetch_queue_.halves.low.full);
|
||||
break;
|
||||
|
||||
case int(MicroOp::Action::AssembleLongWordAddressFromPrefetch) | MicroOp::SourceMask:
|
||||
|
Loading…
Reference in New Issue
Block a user