Copyright | (c) Ruey-Lin Hsu (petercommand) |
---|---|
License | LGPL-3 |
Maintainer | petercommand@gmail.com |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Language.MASMGen.Types
Description
Documentation
Constructors
MASM | |
Fields
|
type Displacement = Int Source #
Constructors
Imm :: Word32 -> Operand | |
Direct :: Addr -> Operand | |
Reg :: forall a. Reg a => a -> Operand | |
RegIndirect :: forall a. Reg a => a -> Operand | |
RegIndex :: forall a. Reg a => a -> Displacement -> Operand | |
RegIndexScale :: forall a. Reg a => a -> a -> Scale -> Displacement -> Operand | |
VarAddr :: Var -> Operand |
data MASMInclude Source #
Constructors
MASMInclude String | |
MASMIncludeLib String |
Constructors
data MASMTopLevel Source #
Constructors
MASMProg | |
Fields
|
data MASMOutput Source #
Constructors
MASMOutput String | |
MASMOutputNoIndent String | |
Indent | |
Dedent | |
NewLine |
type UntypedMASMInstrSinCon = Operand -> MASMInstr Source #
operandClass :: OperandClass a => a -> OpClass Source #