Skip to content

Djinn Instruction Set

Saša Barišić edited this page Feb 13, 2018 · 3 revisions
  • Storing immediate values into VM registers (not host machine registers), or stack?
  • Loading and storing host registers (and pseudo-registers)
    • Create a callback?
  • Loading and storing from host memory (virtual and physical with addresses being in VM registers).
    • Read/write callback?
  • Fixed size instructions

Instruction list

  • add, sub
  • mul, div
  • xor, and, or, nand, nor
  • left shift, right shift (arithmetic and logical), rotate
  • if, goto
Clone this wiki locally