public WriteMemInt8 ( ushort address, byte value, SegmentIndex segment ) : void | ||
address | ushort | |
value | byte | |
segment | SegmentIndex | |
리턴 | void |
public void WriteMemInt8(ushort address, byte value, SegmentIndex segment)
{
// Int8 accesses do not have to be 16-bit aligned. Only one memory access is needed.
Cycles += 1;
Segment s = GetSegment(segment);
if (s == null)
throw new Exception("Unknown segment referenced in DebugReadMemory");
s[address] = value;
}