Skip to content

Commit

Permalink
Update EIP-663: Update opcodes for SWAPN and DUPN
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
gumb0 authored Sep 22, 2023
1 parent e5b66fc commit b2e23ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EIPS/eip-663.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Introducing `SWAPN` and `DUPN` will provide an option to compilers to simplify a

We introduce two new instructions:

1. `DUPN` (`0xb5`)
2. `SWAPN` (`0xb6`)
1. `DUPN` (`0xe6`)
2. `SWAPN` (`0xe7`)

If the code is legacy bytecode, both of these instructions result in an *exceptional halt*. (*Note: This means no change to behaviour.*)

Expand Down

0 comments on commit b2e23ba

Please sign in to comment.