Question

Looking at the AVM2 specs (here, page 66-67) i found out that there are two instructions which do something different but they have the same opcode:

greaterequals, 0xAF
greaterthan, 0xAF

Both have the same format (no arguments). Both have the same stack transition. Since these instructions do something different i am a bit confused. Does someone know what are the correct opcodes?

Was it helpful?

Solution

greaterequals opcode is 0xb0 In the online documentation the error is partially fixed (decimal value is wrong still)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top