BitRShift

Abstract AS2

@t0 = @pop();
@push(@pop() >> @t0);

Adobe documentation

ActionBitRShift

ActionBitRShift pops the shift count from the stack. Pops the value from the stack. The value argument is converted to a 32-bit signed integer and only the least significant 5 bits are used as the shift count.

The bits in the arg value are shifted to the right by the shift count. ActionBitRShift pushes an S32 number to the stack.

FieldTypeComment
ActionBitRShiftACTIONRECORDHEADERActionCode = 0x64

ActionBitRShift does the following:

  1. Pops the shift count from the stack.
  2. Pops the value to shift from the stack.
  3. Pushes the result to the stack.