Open S3v3ru5 opened 1 year ago
Teal assembler supports various alias instructions which are not mentioned in the Opcodes document.
method {s: method-signature}
bytes {4-byte method selector}
extract
extract3
txn
txn {i} {j}
txna {i} {j}
gtxn
gtxn {i} {j} {k}
gtxna {i} {j} {k}
gtxns
gtxns {i} {j}
gtxnsa {i} {j}
Teal assembler supports various alias instructions which are not mentioned in the Opcodes document.
method {s: method-signature}
: Alias tobytes {4-byte method selector}
extract
instruction without immediate arguments is equivalent toextract3
.txn
instruction with 2 immediate arguments(txn {i} {j}
is equivalent totxna {i} {j}
gtxn
instruction with 3 immediate arguments(gtxn {i} {j} {k}
) is equivalent togtxna {i} {j} {k}
gtxns
instruction with 2 immediate arguments(gtxns {i} {j}
) is equivalent togtxnsa {i} {j}