From a9f3823f839dd77ac3700493668d7b5bc3dc6c7b Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Thu, 11 Sep 2025 13:59:27 +0300 Subject: [PATCH] docs: fix SUB operation to correctly perform subtraction --- public/content/developers/docs/evm/opcodes/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/content/developers/docs/evm/opcodes/index.md b/public/content/developers/docs/evm/opcodes/index.md index d3599eb10e6..c6d92f67384 100644 --- a/public/content/developers/docs/evm/opcodes/index.md +++ b/public/content/developers/docs/evm/opcodes/index.md @@ -22,7 +22,7 @@ For operations with dynamic gas costs, see [gas.md](https://github.com/wolflo/ev | 00 | STOP | 0 | | | | halt execution | | 01 | ADD | 3 | `a, b` | `a + b` | | (u)int256 addition modulo 2\*\*256 | | 02 | MUL | 5 | `a, b` | `a * b` | | (u)int256 multiplication modulo 2\*\*256 | -| 03 | SUB | 3 | `a, b` | `a - b` | | (u)int256 addition modulo 2\*\*256 | +| 03 | SUB | 3 | `a, b` | `a - b` | | (u)int256 subtraction modulo 2\*\*256 | | 04 | DIV | 5 | `a, b` | `a // b` | | uint256 division | | 05 | SDIV | 5 | `a, b` | `a // b` | | int256 division | | 06 | MOD | 5 | `a, b` | `a % b` | | uint256 modulus |