mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-27 07:05:47 +00:00
Automatically merged updates to draft EIP(s) 663 (#2056)
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
This commit is contained in:
parent
fe44e99e27
commit
9531351313
@ -47,7 +47,7 @@ This results in wasting a byte in the cases of only referring to the top 255 sta
|
||||
|
||||
### Option C
|
||||
|
||||
This option extends Option A with two new instructions, `DUPSn` and `SWAPSn`, where the value of `n` is encoded as an 8-bit immediate value following the opcode.
|
||||
This option extends Option B with two new instructions, `DUPSn` (`0xb2`) and `SWAPSn` (`0xb3`), where the value of `n` is encoded as an 8-bit immediate value following the opcode.
|
||||
|
||||
The value `n` has a range of 0 to 255, but otherwise the same rules apply as in Option A.
|
||||
|
||||
@ -68,6 +68,12 @@ This has no effect on backwards compatibility.
|
||||
|
||||
TBA
|
||||
|
||||
## References
|
||||
|
||||
A similar proposal was made with [EIP-174](https://github.com/ethereum/EIPs/issues/174). Read the thread for some detailed discussion.
|
||||
|
||||
Rootstock [RSKIP26](https://github.com/rsksmart/RSKIPs/blob/master/IPs/RSKIP26.md) also introduced `SWAPN` and `DUPN` with Option A described above.
|
||||
|
||||
## Copyright
|
||||
|
||||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).
|
||||
|
Loading…
x
Reference in New Issue
Block a user