using uCalcSoftware; var uc = new uCalc(); var myVar = uc.DefineVariable("counter As Int8u = 255"); var ptr = myVar.ValueAddr(); // Read natively as unsigned byte Console.WriteLine(uc.ValueAt(ptr, uc.DataTypeOf("Int8u"))); // Read the exact same memory address, but interpret as signed byte Console.WriteLine(uc.ValueAt(ptr, uc.DataTypeOf("Int8")));