mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-25 11:17:26 +00:00
Decision: these five have weird addressing, so that counts as weird addressing modes.
This commit is contained in:
@@ -69,8 +69,7 @@ void Processor<model, Traits>::run_for(const Cycles cycles) {
|
||||
Storage::decoded_.operation,
|
||||
registers,
|
||||
Storage::operand_,
|
||||
Storage::opcode_,
|
||||
Storage::address_
|
||||
Storage::opcode_
|
||||
);
|
||||
};
|
||||
|
||||
@@ -122,8 +121,7 @@ void Processor<model, Traits>::run_for(const Cycles cycles) {
|
||||
Storage::decoded_.operation,
|
||||
registers,
|
||||
registers.a,
|
||||
Storage::opcode_,
|
||||
Storage::address_
|
||||
Storage::opcode_
|
||||
);
|
||||
goto fetch_decode;
|
||||
|
||||
@@ -459,8 +457,8 @@ void Processor<model, Traits>::run_for(const Cycles cycles) {
|
||||
goto fetch_decode;
|
||||
|
||||
case access_program(Push):
|
||||
perform_operation();
|
||||
check_interrupt();
|
||||
perform_operation();
|
||||
access(BusOperation::Write, Stack(registers.dec_s()), Storage::operand_);
|
||||
goto fetch_decode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user