Skip to Content
Mastering Blockchain - Second Edition
book

Mastering Blockchain - Second Edition

by Ankur Daharwal, Imran Bashir, Pranav Burnwal
March 2018
Beginner to intermediate
656 pages
20h 9m
English
Packt Publishing
Content preview from Mastering Blockchain - Second Edition

Stack, memory, storage, and flow operations

This set of instructions contains all mnemonics that are necessary to store items on stack and memory. Also, instructions required for controlling program flow are also included in this range.

Mnemonic

Value

POP

PUSH

Gas

Description

POP

0x50

1

0

2

Removes items from the stack

MLOAD

0x51

1

1

3

Used to load a word from the memory

MSTORE

0x52

2

0

3

Used to store a word to the memory

MSTORE8

0x53

2

0

3

Used to save a byte to the memory

SLOAD

0x54

1

1

50

Used to load a word from the storage

SSTORE

0x55

2

0

0

Saves a word to the storage

JUMP

0x56

1

0

8

Alters the program counter

JUMPI

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Blockchain - Third Edition

Mastering Blockchain - Third Edition

Imran Bashir
Mastering Blockchain

Mastering Blockchain

Lorne Lantz, Daniel Cawrey
Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood

Publisher Resources

ISBN: 9781788839044Supplemental Content