Skip to content

ITSecLabs/EVM-Assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

EVM-Assembler

An assembler that translates Ethereum Virtual Machine mnemonics to bytecode. Developed for Linux, might work on other platforms.

This is a rudimentary implementation we needed for some experiments, it was not tested very thoroughly.

Usage

Compiling EVM-Assembler: gcc -o easm easm.c

Running EVM-Assembler: easm [source.asm]

Source syntax:

  • Opcodes must be written exactly as in the Ethereum yellow paper (all caps)
  • Each opcode must be on a new line
  • Parameters for PUSH1 to PUSH32 must be provided in hex with leading '0x'
  • Comments can be written by prefixing the line with '#'

Created by IT Security Labs

About

Ethereum Virtual Machine Assembler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages