Skip to content

Commit

Permalink
Update pending-opcodes.md (DATA*, RETURNDATALOAD, EXCHANGE)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobacz committed Jan 29, 2024
1 parent 559ba54 commit 7a71b81
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
30 changes: 16 additions & 14 deletions lists/evm/pending-opcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ next or subsuquent hard fork.
| 0x5C | TLOAD | Transient data load | [EIP-1153](https://eips.ethereum.org/EIPS/eip-1153) |
| 0x5D | TSTORE | Transient data store | [EIP-1153](https://eips.ethereum.org/EIPS/eip-1153) |
| 0x5E | MCOPY | Memory copy | [EIP-5656](https://eips.ethereum.org/EIPS/eip-5656) |
| 0xD0 | DATALOAD | Loads data from EOF data section, via stack | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xD1 | DATALOADN | Loads data from EOF data section, via immediate | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xD2 | DATASIZE | Size of the EOF data section | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xD3 | DATACOPY | Bulk EOF data copy | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xE0 | RJUMP | relative jump | [EIP-4200](https://eips.ethereum.org/EIPS/eip-4200) |
| 0xE1 | RJUMPI | relative conditional jump | [EIP-4200](https://eips.ethereum.org/EIPS/eip-4200) |
| 0xE2 | RJUMV | relative jump table | [EIP-4200](https://eips.ethereum.org/EIPS/eip-4200) |
Expand All @@ -19,19 +23,17 @@ next or subsuquent hard fork.
| 0xE5 | JUMPF | EOF Function Jump | [EIP-6209](https://eips.ethereum.org/EIPS/eip-6209) |
| 0xE6 | DUPN | Unlimited dup | [EIP-663](https://eips.ethereum.org/EIPS/eip-663) |
| 0xE7 | SWAPN | Unlimited swap | [EIP-663](https://eips.ethereum.org/EIPS/eip-663) |
| 0xE8 | DATALOAD | Loads data from EOF data section, via stack | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xE9 | DATALOADN | Loads data from EOF data section, via immediate | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xEA | DATASIZE | Size of the EOF data section | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xEB | DATACOPY | Bulk EOF data copy | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xE8 | EXCHANGE | Deep swap | [EIP-663](https://eips.ethereum.org/EIPS/eip-663) |
| 0xEC | CREATE3 | Create from EOF contained initcode | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xED | CREATE4 | Create from transaction contained initcode | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xEE | RETURNCONTRACT | Contract to be created, references EOF data | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xEF | - | Reserved for EOF compatability | TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) |
| 0xF6 | PAY | transfers value from caller to target | [EIP-5920](https://eips.ethereum.org/EIPS/eip-5920) |
| 0xF7 | RETURNDATALOAD | Loads data returned from a call to the stack | [EIP-7069](https://eips.ethereum.org/EIPS/eip-7069) |
| 0xF8 | CALL2 | CALL without gas and output memory | [EIP-7069](https://eips.ethereum.org/EIPS/eip-7069) ||
| 0xF9 | DELEGATECALL2 | DELEGATECALL without gas and output memory | [EIP-7069](https://eips.ethereum.org/EIPS/eip-7069) |
| 0xFB | STATICCALL2 | STATICCALL without gas and output memory | [EIP-7069](https://eips.ethereum.org/EIPS/eip-7069) |
| 0xFC | SETCODE | Change the code for the current contract | [EIP-6913](https://eips.ethereum.org/EIPS/eip-6913) | |
| 0xFC | SETCODE | Change the code for the current contract | [EIP-6913](https://eips.ethereum.org/EIPS/eip-6913) |

Pending Opcode Table
--------------------
Expand Down Expand Up @@ -255,10 +257,10 @@ scheduled or accepted) are in *itallics*.
| 0XCD | | | | |
| 0XCE | | | | |
| 0XCF | | | | |
| 0XD0 | | | | |
| 0XD1 | | | | |
| 0XD2 | | | | |
| 0XD3 | | | | |
| *0xD0* | *DATALOAD* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xD1* | *DATALOADN* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xD2* | *DATASIZE* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xD3* | *DATACOPY* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| 0XD4 | | | | |
| 0XD5 | | | | |
| 0XD6 | | | | |
Expand All @@ -279,10 +281,10 @@ scheduled or accepted) are in *itallics*.
| *0xE5* | *JUMPF* | *EOF* | *????* | *[EIP-4750](https://eips.ethereum.org/EIPS/eip-6209)* |
| *0xE6* | *DUPN* | *EOF* | *????* | *[EIP-663](https://eips.ethereum.org/EIPS/eip-663)* |
| *0xE7* | *SWAPN* | *EOF* | *????* | *[EIP-663](https://eips.ethereum.org/EIPS/eip-663)* |
| *0xE8* | *DATALOAD* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xE9* | *DATALOADN* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xEA* | *DATASIZE* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xEB* | *DATACOPY* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xE8* | *EXCHANGE* | *EOF* | *????* | *[EIP-663](https://eips.ethereum.org/EIPS/eip-663)* |
| 0xE9 | | | | |
| 0xEA | | | | |
| 0xEB | | | | |
| *0xEC* | *CREATE3* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xED* | *CREATE4* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
| *0xEE* | *RETURNCONTRACT* | *EOF* | *????* | *TBD - [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification)* |
Expand All @@ -294,7 +296,7 @@ scheduled or accepted) are in *itallics*.
| 0xF4 | DELEGATECALL | System | Homestead | [EIP-7](https://eips.ethereum.org/EIPS/eip-7) |
| 0xF5 | CREATE2 | System | Constantinople | [EIP-1014](https://eips.ethereum.org/EIPS/eip-1014) |
| *0xF6* | *PAY* | *System* | *????* | *[EIP-5920](https://eips.ethereum.org/EIPS/eip-5920)* |
| 0xF7 | | | | |
| *0xF7* | *RETURNDATALOAD* | *Environmental* | *????* | *[EIP-7069](https://eips.ethereum.org/EIPS/eip-7069)* |
| *0xF8* | *CALL2* | *System* | *????* | *[EIP-7069](https://eips.ethereum.org/EIPS/eip-7069)* |
| *0xF9* | *DELEGATECALL2* | *System* | *????* | *[EIP-7069](https://eips.ethereum.org/EIPS/eip-7069)* |
| 0xFA | STATICCALL | System | Byzantium | [EIP-214](https://eips.ethereum.org/EIPS/eip-214) |
Expand Down
16 changes: 9 additions & 7 deletions lists/evm/proposed-opcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ unshipped EIPs, even withdrawn and non-viable proposals.
| [615](https://eips.ethereum.org/EIPS/eip-615) | 0xB9 | GETLOCAL | call local storage |
| [663](https://eips.ethereum.org/EIPS/eip-663) | 0xB5 | DUPN | Unlimited dup |
| [663](https://eips.ethereum.org/EIPS/eip-663) | 0xB6 | SWAPN | Unlimited swap |
| [663](https://eips.ethereum.org/EIPS/eip-663) | 0xE8 | EXCHANGE | Deep swap |
| [698](https://eips.ethereum.org/EIPS/eip-698) | 0x46 | BLOCKREWARD | Get the block reward for the current block |
| [1109](https://eips.ethereum.org/EIPS/eip-1109) | 0xFB | PRECOMPILEDCALL | call only precompiled addresses |
| [1153](https://eips.ethereum.org/EIPS/eip-1153) | 0xB3 | TLOAD | Transient data load |
Expand Down Expand Up @@ -70,10 +71,11 @@ unshipped EIPs, even withdrawn and non-viable proposals.
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xF6 | CREATE3 | Create from EOF contained initcode |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xF7 | CREATE4 | Create from transaction contained initcode |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xF8 | RETURNCONTRACT | contract to be created, references EOF data |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xB8 | DATALOAD | Loads data from EOF data section, via stack |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xB9 | DATALOADN | Loads data from EOF data section, via immediate |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xBA | DATASIZE | Size of the EOF data section |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xBB | DATACOPY | Bulk data section copy |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xF9 | CALL2 | CALL without gas and output memory |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xFB | DELEGATECALL2 | DELEGATECALL without gas and output memory |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xFC | STATICCALL2 | STATICCALL without gas and output memory |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xD0 | DATALOAD | Loads data from EOF data section, via stack |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xD1 | DATALOADN | Loads data from EOF data section, via immediate |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xD2 | DATASIZE | Size of the EOF data section |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xD3 | DATACOPY | Bulk data section copy |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xF7 | RETURNDATALOAD | Loads data returned from a call to the stack |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xF8 | CALL2 | CALL without gas and output memory |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xF9 | DELEGATECALL2 | DELEGATECALL without gas and output memory |
| [mega EOF](https://notes.ethereum.org/@ipsilon/mega-eof-specification) | 0xFB | STATICCALL2 | STATICCALL without gas and output memory |

0 comments on commit 7a71b81

Please sign in to comment.