Platonic Posted March 3, 2022 Posted March 3, 2022 gg.loadResults(values) instructionSet = gg.getResults(2) if instructionSet[2].value == 0x28 then -- 0x28 print("32 bit") elseif instructionSet[2].value == -0x49 then -- 0xB7 | -73 signed 2's complement print("64 bit") end Comparing hex value results in 2's complement, but this is extra struggle because i have to do conversion. I just want to do this: elseif instructionSet[2].value == 0xB7 then Possible?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.