Skip to content

Instantly share code, notes, and snippets.

@frangio
Last active December 21, 2024 19:51
Show Gist options
  • Save frangio/608671a39164eb9372c93012dfd52464 to your computer and use it in GitHub Desktop.
Save frangio/608671a39164eb9372c93012dfd52464 to your computer and use it in GitHub Desktop.
EVML Assembly syntax examples
code main : 0 -> ! {
push0
push0
callf other
stop
}
code other : 2 -> 1 {
rjumpi end
pop
push0
end:
retf
}
code another : 0 -> 1 {
dataloadn bar
...
eofcreate foo_init
}
container foo_init {
container foo {
aux_data baz : 32
...
}
code init {
...
returncontract foo
}
}
data bar = hex"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment