14 MMU(Register R
[], IORegisters
& regs
, SRam
& sram
, ERam
*eram
= 0);
18 * Reads a single bytes of raw data from memory at
21 * \exception AccessViolation { When the data requested is
22 * not available, this exception is thrown }
24 byte
readByte(unsigned int offset
) const;
27 * Reads a word of raw data from memory starting at
30 * \exception AccessViolation { When the data requested is
31 * not available, this exception is thrown }
33 word
readWord(unsigned int offset
) const;
36 * Reads a single bytes of raw data from memory at
39 * \exception AccessViolation { When the data requested is
40 * not available, this exception is thrown }
42 void writeByte(unsigned int offset
, byte val
);
45 * Reads a word of raw data from memory starting at
48 * \exception AccessViolation { When the data requested is
49 * not available, this exception is thrown }
51 void writeWord(unsigned int offset
, word val
);
54 static const unsigned int registerSpaceSize
= 32;