ior
Stack
Before
|
After
|
| value1
|
result
|
| value2
|
...
|
| ...
|
Computes the bitwise or of value1 and value2 (which must be ints). The int result replaces value1 and value2 on the stack.
Example
; This is like the Java code: ; int x; ; x |= 2; ; iload_1 ; load local variable 1 onto stack iconst_2 ; push the integer 2 onto the stack ior ; compute the bitwise or istore_1 ; store the result in local variable 1Bytecode
Type
|
Description
|
|
u1
|
ior
opcode = 0x80 (128)
|
ishl, ishr, iushr, lshl, lshr, lushr, iand, land, lor, ixor, lxor