Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 799 Bytes

Push Operations.md

File metadata and controls

20 lines (15 loc) · 799 Bytes

Places items -> Stack

OP Code (Hexidecimal) Operation1 Description Gas
0x60 PUSH1 0 1 Place 1 byte item on stack 3
0x61 PUSH2 0 1 Place 2-byte item on stack2 3
0x7f PUSH32 0 1 Place 32-byte (full word) item on stack 3

References


Tags

Instruction Set

Footnotes

  1. (Mnemonic, Stack items placed, Stack items removed)

  2. PUSH3, PUSH4, PUSH5…PUSH31 place 3, 4, 5..31-byte items on stack respectively*