Wrench.Isa.Wasm32.Execute
Contents
Description
Executing one instruction at a time.
Methods
initState :: Int -> MemOf (Wasm32St w) -> StdGen -> Wasm32St w Source #
instructionFetch :: State (Wasm32St w) (Either Text (Int, Wasm32Isa w w)) Source #
instructionStep :: State (Wasm32St w) () Source #
instructionExecute :: Int -> Wasm32Isa w w -> State (Wasm32St w) () Source #