Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 508 Bytes

readme.md

File metadata and controls

14 lines (10 loc) · 508 Bytes
  • everything simulator-related is contained in the x64 namespace.

lexing process was ripped out of the pre-prealpha version of the project
everything else is either based upon, or totally different from the original idea.

in code:
MOV | ADD | SUB | ...
CMP | JMP | JLE | ...
IN | OUT | BREAKPOINT

IN <register>, e.g. IN RAX (enter value on stdout)
OUT, e.g. OUT (enter register on stdout) -> > RAX -> "RAX = 50"

labels must start with '_' (a single underscore)