Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Address
- data Operand
- data Instruction = Instruction {}
Taxonomy
Address
AddressRegister Register | Reading a pointer from a storage |
AddressImm Word64 | Immediate value |
AddressPlus Address Address | Plus |
AddressMinus Address Address | Minus |
AddressTimes Address Address | Times |
Instances
Operand
Memory Address Int | A region in memory, whose address is stored in the given state part and whose size in bytes is given in the Int |
EffectiveAddress Address | An address itself, but not the value stored at the address. |
Reg Register | A storage location such as a register or a variable |
Immediate Word64 | An immediate value |
Instances
Generic Operand Source # | |
type Rep Operand Source # | |
Defined in Data.JSON type Rep Operand = D1 ('MetaData "Operand" "Data.JSON" "foxdec-0.1.0.0-F8J4QQ8bsQELJyhc4kJb0m" 'False) ((C1 ('MetaCons "Memory" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "EffectiveAddress" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Address))) :+: (C1 ('MetaCons "Reg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Register)) :+: C1 ('MetaCons "Immediate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word64)))) |