Skip to content

bizzare-owl/tvm

Repository files navigation

tvm

TinyVMLogo

TBC to CIL

Start of program

TBC

  # No commands

CIL

  ldc.i4 0
  stloc.0 // r1 
  ldc.i4 0
  stloc.1 // r2
  ldc.i4 0
  stloc.2 // stack pointer
  ldc.i4 1024
  newarr [mscorlib]System.Int32
  stloc.3 // stack

Push instruction

TBC

  push <value>

CIL

  ldloc.2
  ldc.i4 1
  add 
  

About

Tiny Virtual Machine - a virtual machine for interpreting or JIT compiling of byte code (Tiny Byte Code - TBC).

Topics

Resources

License

Code of conduct

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages