예제 #1
0
 private short ReadShortFromMemory(ushort address)
 {
     return(NumberUtils.CreateShort(
                ProcessorAgent.ReadFromMemory(address),
                ProcessorAgent.ReadFromMemory((ushort)(address + 1))));
 }
예제 #2
0
 private short FetchWord()
 {
     return(NumberUtils.CreateShort(
                lowByte: ProcessorAgent.FetchNextOpcode(),
                highByte: ProcessorAgent.FetchNextOpcode()));
 }