Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data InstructionState Source #
type Instruction = State InstructionState () Source #
appendBytes :: [Word8] -> InstructionState -> InstructionState Source #
appendBytesThenWord :: [Word8] -> Word16 -> InstructionState -> InstructionState Source #
genericNoByteOp :: Word8 -> Instruction Source #
genericOp :: (FiniteBits a, Integral a) => Word8 -> a -> Instruction Source #
genericTwoByteOp :: Word8 -> Word16 -> Instruction Source #
define :: String -> Instruction -> Instruction Source #
call :: String -> Instruction Source #
adc :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
and :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
asl :: IsElem a '[AccumulatorKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
bbr0 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbr1 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbr2 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbr3 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbr4 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbr5 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbr6 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbr7 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs0 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs1 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs2 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs3 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs4 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs5 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs6 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bbs7 :: IsElem a '[ZeroPageRelativeKind] ~ True => AddressingMode a -> Instruction Source #
bcc :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
bcs :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
beq :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
bit :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
bmi :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
bne :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
bpl :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
bra :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
brk :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
bvc :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
bvs :: IsElem a '[RelativeKind] ~ True => AddressingMode a -> Instruction Source #
clc :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
cld :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
cli :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
clv :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
cmp :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
cpx :: IsElem a '[ImmediateKind, ZeroPageKind, AbsoluteKind] ~ True => AddressingMode a -> Instruction Source #
cpy :: IsElem a '[ImmediateKind, ZeroPageKind, AbsoluteKind] ~ True => AddressingMode a -> Instruction Source #
dec :: IsElem a '[AccumulatorKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
dex :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
dey :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
eor :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
inc :: IsElem a '[AccumulatorKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
inx :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
iny :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
jmp :: IsElem a '[AbsoluteKind, IndirectKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
jsr :: IsElem a '[AbsoluteKind] ~ True => AddressingMode a -> Instruction Source #
lda :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
ldx :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageYKind, AbsoluteKind, AbsoluteYKind] ~ True => AddressingMode a -> Instruction Source #
ldy :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
lsr :: IsElem a '[AccumulatorKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
nop :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
ora :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
pha :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
php :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
phx :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
phy :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
pla :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
plp :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
plx :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
ply :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
rmb0 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rmb1 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rmb2 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rmb3 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rmb4 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rmb5 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rmb6 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rmb7 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
rol :: IsElem a '[AccumulatorKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
ror :: IsElem a '[AccumulatorKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
rti :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
rts :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
sbc :: IsElem a '[ImmediateKind, ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
sec :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
sed :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
sei :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
smb0 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
smb1 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
smb2 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
smb3 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
smb4 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
smb5 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
smb6 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
smb7 :: IsElem a '[ZeroPageKind] ~ True => AddressingMode a -> Instruction Source #
sta :: IsElem a '[ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind, AbsoluteYKind, ZeroPageIndirectKind, IndirectXKind, IndirectYKind] ~ True => AddressingMode a -> Instruction Source #
stp :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
stx :: IsElem a '[ZeroPageKind, ZeroPageYKind, AbsoluteKind] ~ True => AddressingMode a -> Instruction Source #
sty :: IsElem a '[ZeroPageKind, ZeroPageXKind, AbsoluteKind] ~ True => AddressingMode a -> Instruction Source #
stz :: IsElem a '[ZeroPageKind, ZeroPageXKind, AbsoluteKind, AbsoluteXKind] ~ True => AddressingMode a -> Instruction Source #
tax :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
tay :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
trb :: IsElem a '[ZeroPageKind, AbsoluteKind] ~ True => AddressingMode a -> Instruction Source #
tsb :: IsElem a '[ZeroPageKind, AbsoluteKind] ~ True => AddressingMode a -> Instruction Source #
tsx :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
txa :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
txs :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
tya :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
wai :: IsElem a '[ImpliedKind] ~ True => AddressingMode a -> Instruction Source #
module DSL.SixtyFiveOhTwo.Types