i32.sub

Pops two

`i32`

values off the stack, subtracts the second value from the first, and then
pushes the result back on to the stack. Make sure you push the values onto the stack in the correct
order otherwise you will be subtracting the wrong way round.
$result = $first - $second

```
i32.sub
```

i32 | The first value to be subtract from. |

i32 | The second value to subtract by. |

i32 | The result of subtracting the second value from the first. |

;; Push the i32 value 101 onto the stack i32.const 101 ;; Push the i32 value 42 onto the stack i32.const 42 ;; Pop the two i32 values off the stack, subtract the second value ;; from the first and push the result back onto the stack i32.sub ;; The stack contains an i32 value of 59