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

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

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

            return(data[memoryLocation]);
        }