Beispiel #1
0
 public int GetIntValue()
 {
     return(Maths.ByteArrToInt(value));
 }
Beispiel #2
0
        public void SetValue(byte value)
        {
            int memoryLocation = Maths.ByteArrToInt(location);

            this.data[memoryLocation] = value;
        }
Beispiel #3
0
        public int GetPC()
        {
            int PC = Maths.ByteArrToInt(programCounter);

            return(PC);
        }
Beispiel #4
0
        public byte ReadData(byte[] location)
        {
            int memoryLocation = Maths.ByteArrToInt(location);

            return(data[memoryLocation]);
        }