@@ -82,6 +82,7 @@ var opDocByName = map[string]string{
8282 "load" : "copy a value from scratch space to the stack" ,
8383 "store" : "pop a value from the stack and store to scratch space" ,
8484 "gload" : "push Ith scratch space index of the Tth transaction in the current group" ,
85+ "gloads" : "push Ith scratch space index of the Ath transaction in the current group" ,
8586 "bnz" : "branch to TARGET if value X is not zero" ,
8687 "bz" : "branch to TARGET if value X is zero" ,
8788 "b" : "branch unconditionally to TARGET" ,
@@ -142,7 +143,8 @@ var opcodeImmediateNotes = map[string]string{
142143 "b" : "{int16 branch offset, big endian. (negative offsets are illegal before v4)}" ,
143144 "load" : "{uint8 position in scratch space to load from}" ,
144145 "store" : "{uint8 position in scratch space to store to}" ,
145- "gload" : "{uint8 transaction group index} {uint8 position in scratch space to store to}" ,
146+ "gload" : "{uint8 transaction group index} {uint8 position in scratch space to load from}" ,
147+ "gloads" : "{uint8 position in scratch space to load from}" ,
146148 "substring" : "{uint8 start position} {uint8 end position}" ,
147149 "dig" : "{uint8 depth}" ,
148150 "asset_holding_get" : "{uint8 asset holding field index}" ,
@@ -203,7 +205,7 @@ type OpGroup struct {
203205// OpGroupList is groupings of ops for documentation purposes.
204206var OpGroupList = []OpGroup {
205207 {"Arithmetic" , []string {"sha256" , "keccak256" , "sha512_256" , "ed25519verify" , "+" , "-" , "/" , "*" , "<" , ">" , "<=" , ">=" , "&&" , "||" , "==" , "!=" , "!" , "len" , "itob" , "btoi" , "%" , "|" , "&" , "^" , "~" , "mulw" , "addw" , "divw" , "getbit" , "setbit" , "getbyte" , "setbyte" , "concat" , "substring" , "substring3" }},
206- {"Loading Values" , []string {"intcblock" , "intc" , "intc_0" , "intc_1" , "intc_2" , "intc_3" , "pushint" , "bytecblock" , "bytec" , "bytec_0" , "bytec_1" , "bytec_2" , "bytec_3" , "pushbytes" , "arg" , "arg_0" , "arg_1" , "arg_2" , "arg_3" , "txn" , "gtxn" , "txna" , "gtxna" , "gtxns" , "gtxnsa" , "global" , "load" , "store" , "gload" }},
208+ {"Loading Values" , []string {"intcblock" , "intc" , "intc_0" , "intc_1" , "intc_2" , "intc_3" , "pushint" , "bytecblock" , "bytec" , "bytec_0" , "bytec_1" , "bytec_2" , "bytec_3" , "pushbytes" , "arg" , "arg_0" , "arg_1" , "arg_2" , "arg_3" , "txn" , "gtxn" , "txna" , "gtxna" , "gtxns" , "gtxnsa" , "global" , "load" , "store" , "gload" , "gloads" }},
207209 {"Flow Control" , []string {"err" , "bnz" , "bz" , "b" , "return" , "pop" , "dup" , "dup2" , "dig" , "swap" , "select" , "assert" , "callsub" , "retsub" }},
208210 {"State Access" , []string {"balance" , "min_balance" , "app_opted_in" , "app_local_get" , "app_local_get_ex" , "app_global_get" , "app_global_get_ex" , "app_local_put" , "app_global_put" , "app_local_del" , "app_global_del" , "asset_holding_get" , "asset_params_get" }},
209211}
0 commit comments