mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-19 20:37:34 +00:00
PUSH always pushes a word.
This commit is contained in:
parent
a9a72a767d
commit
1a68dcbc14
@ -194,6 +194,7 @@ std::pair<int, typename Decoder<model>::InstructionT> Decoder<model>::decode(
|
||||
displacement(Operation::JP, DataSize::Byte);
|
||||
} else {
|
||||
immediate(Operation::PUSH, DataSize::Byte);
|
||||
operation_size_ = data_size_;
|
||||
}
|
||||
break;
|
||||
case 0x6b:
|
||||
|
@ -327,7 +327,7 @@ private:
|
||||
set(operation);
|
||||
source_ = Source::Immediate;
|
||||
phase_ = Phase::DisplacementOrOperand;
|
||||
operation_size_ = operand_size_ = operand_size;
|
||||
operand_size_ = operand_size;
|
||||
}
|
||||
|
||||
/// Handles far CALL and far JMP — fixed four or six byte operand operations.
|
||||
|
Loading…
x
Reference in New Issue
Block a user