PUSHINT
is TVM-asm instruction and required for assembling the smart contract. Analogue from Fift is just writing number 1
or any other that you want.
Using TVM opcodes outside of smart contract is not possible.
I wrote a program in Fift, which included the following code:
1 PUSHINT
I receive the following error: "PUSHINT: stack underflow"
This doesn't make sense to me, since it's adding a positive number. How does it throw the stack underflow error?
This question was imported from Telegram Chat: https://t.me/tondev_eng/9677
PUSHINT
is TVM-asm instruction and required for assembling the smart contract. Analogue from Fift is just writing number 1
or any other that you want.
Using TVM opcodes outside of smart contract is not possible.