castore


Description: store value in char array[index]

Stack

Before After
value       
index       
array       

Example

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

char array[index] = b;

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

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


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


back to opcode reference.