Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 257 Bytes

ethereum.md

File metadata and controls

27 lines (19 loc) · 257 Bytes

Ethereum

Getting started

import {Ethereum} from 'ass-js';

const asm = Ethereum();

Add commands

asm.code(_ => {
    _('ADD');
    _('JUMPI'):
});

Push to stack

_('PUSH1', 0xFF);
_('PUSH2', [1, 2]);

_('PUSH', 1, 2, 3);