bastore


Description: store value in byte or boolean array[index]

Stack

Before After
value       
index       
array       

Example

Java---------------------

byte array[index] = b;

Jasm-------------------

aload_1      ;get array out of local 1 onto stack
aload_2      ;get index onto stack
bipush 28      ;push 28
bastore      ;truncates int 28 to byte stores it in array[index]


Back to
Opcodes indexed by function.
Opcodes indexed by number.


back to opcode reference.