public void ReadNoOpFromRawDataWithGenericReader() { var t_DTO = m_Reader.ReadMemory(new MemoryAddress(0), m_Bank); t_DTO.Should().NotBeNull(); t_DTO.OpCode.Should().Be(0); t_DTO.Data.Length.Should().Be(0); }
private OperationDTO _ReadOperationDTOFromMemory(MemoryAddress Address, IMemoryBank Bank) { var t_OpCode = _InspectCode(Address, Bank); return (m_DTOReader.CanRead(t_OpCode) ? m_DTOReader.ReadMemory(Address, Bank) : throw new UnknownOperation(t_OpCode)); }