Skip to content

greaterequals Opcode in Tamarin/AVM2 Spec

While working on Loom today, I ran across the opcode 0xaf, which matches two opcodes in the AVM2 spec: greaterthan and greaterequals. Checking the AVM2 spec errata on the Tamarin project page produced the following:

“On page 66, instruction name is greaterequals but format, forms, and description are those of greaterthan’.”

Awesome. Thanks guys, that really helps me to know what the PROPER OPCODE VALUE IS SUPPOSED TO BE. It’s obviously in the source code for the Tamarin C++ project, but it would have been nice if somebody had put this on the errata.

So, to clarify the matter once and for all:
greaterequals: 0xb0
greaterthan: 0xaf

{ 2 } Comments

  1. swf_hacker | July 16, 2009 at 7:02 pm | Permalink

    Thanks. Was coding a decompiler when I started guessing what the opcode of greaterequals is. hahaha

  2. Maxim Porges | July 16, 2009 at 7:53 pm | Permalink

    I knew somebody would find this info useful eventually… :)

Post a Comment

Your email is never published nor shared. Required fields are marked *