simulator
This commit is contained in:
parent
6d722acba9
commit
a9323bb7d9
10 changed files with 459 additions and 0 deletions
8
sim/src/sim.gleam
Normal file
8
sim/src/sim.gleam
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import sim/machine
|
||||
|
||||
pub fn main() -> Nil {
|
||||
let machine = machine.init("../arith.obj")
|
||||
echo machine
|
||||
machine.step(machine, machine.get_instructions())
|
||||
Nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue