Skip to content

novariaos/nvma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVMa

The Novaria Virtual Machine bytecode assember

Deps:

  • any C compiler
  • any libc
  • chorus

Build

chorus all

Example

.NVM0

; Calculate 5 + 3
push byte 5
push byte 3
add

; Result (8) now on stack

syscall exit ; result 8 will be use like exitcode
hlt ; if syscall doesn't work - halt the procces

Looks for more examples?

See example/*!

About

Novaria Virtual Machine bytecode assembler

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors