private void ALULeftBuffer_SendTo(ALULeftBufferConnection target) { switch (target) { case ALULeftBufferConnection.A: A = ALULeftBuffer; break; default: throw new NotImplementedException(); } if (TraceMicroInstructions) { TraceMicroInstruction(new MicroInstruction(Z80MicroInstructionTypes.ALULeftBufferSendTo, target)); } }
private void ALULeftBuffer_SampleFrom(ALULeftBufferConnection source) { switch (source) { case ALULeftBufferConnection.A: ALULeftBuffer = A; break; case ALULeftBufferConnection.W: ALULeftBuffer = W; break; case ALULeftBufferConnection.Z: ALULeftBuffer = Z; break; default: throw new NotImplementedException(); } if (TraceMicroInstructions) { TraceMicroInstruction(new MicroInstruction(Z80MicroInstructionTypes.ALULeftBufferSampleFrom, source)); } }