MODDING Tips

MODDING Tips

t.me/xdapirates

Data definition instruction


Data definition instructions are used to define constant, class, etc data used in code. The underlying instruction is const


Instruction. Description


Const/4 vA # B extends the numeric symbol to 32 and assigns a value to the register vA


Const-wide/16 vAAN #BBBB extends numeric symbols to 64 bits and assigns a register pair vAA


Const-string vAAstring @ BBBB is assigned to register vAA by string index high walk string


Const-class vAAtype @ BBBB gets the reference value of a class to the register vAA through the type index



Report Page