How can the PUSHINT OP code cause a stack underflow error?
How can the PUSHINT OP code cause a stack underflow error?
I wrote a program in Fift, which included the following code:
```asm
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
I wrote a program in Fift, which included the following code:
```asm
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?
#fift
#asm
How can the PUSHINT OP code cause a stack underflow error?
I wrote a program in Fift, which included the following code:
```asm
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?