Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
notImplemented :: a Source #
encodeWord :: (?x86 :: X86) => Word32 -> BinaryCode Source #
x86_wordSize :: (?x86 :: X86, Num n) => n Source #
data Instruction Source #
bcWord8 :: Word8 -> BinaryCode Source #
tellBC :: (BCSerializable t, Foldable t1, MonadWriter BinaryCode m) => t1 t -> m () Source #
x86_cp :: (?x86 :: X86, MonadWriter BinaryCode m) => Locus -> Value -> m () Source #
x86_unary :: (MonadWriter BinaryCode m, ?x86 :: X86) => (Word8, Int) -> Word8 -> Word8 -> Locus -> Value -> m () Source #
x86_add :: (?x86 :: X86, MonadWriter BinaryCode m) => Locus -> Value -> m () Source #
x86_sub :: (?x86 :: X86, MonadWriter BinaryCode m) => Locus -> Value -> m () Source #
x86_push :: (?x86 :: X86, MonadWriter BinaryCode m) => Value -> m () Source #
x86_pop :: (Semiring a, Integral a, MonadWriter BinaryCode m, ?x86 :: X86) => Either a Locus -> m () Source #
x86_call :: (MonadCounter BinaryCode BinAddress m, ?x86 :: X86, MonadFix m) => Value -> m () Source #
x86_ret :: MonadWriter BinaryCode m => m () Source #
x86_cmp :: (?x86 :: X86, MonadWriter BinaryCode m) => Locus -> Value -> m () Source #
x86_jcmp :: (MonadFix m, ?x86 :: X86, MonadCounter BinaryCode BinAddress m) => Maybe Bool -> (Bool, Ordering) -> Value -> Value -> BinAddress -> m () Source #
x86_jmp :: (MonadCounter BinaryCode BinAddress f, MonadFix f, ?x86 :: X86) => Value -> f () Source #
x86_load :: (?x86 :: X86, MonadWriter BinaryCode m) => Locus -> BinAddress -> m () Source #
x86_store :: (?x86 :: X86, MonadWriter BinaryCode m) => BinAddress -> Value -> m () Source #
x86_machine_common :: (?x86 :: X86) -> VonNeumannMachine Source #
:: (?x86 :: X86) | |
=> String | The system's name |
-> Standalone | A wrapper for standalone programs |
-> ((?sysHooks :: SystemHooks) => VonNeumannMachine) | A machine description |
-> ((?sysHooks :: SystemHooks) => BUILTIN_INSTR) | Additional per-system builtins |
-> SystemHooks | Standalone hooks |
-> System |