helpa-0.4.6.0: HELPA - Heavenly Esoteric Little Portable Assembler to esoteric languages

Safe Haskell | None
Language | Haskell2010

HelVM.HelPA.Assemblers.Backend.WSA.Instruction

# Documentation

pushLiteral :: Integer -> Instruction #

data Instruction #

Constructors

Push !IntegerValue |
Pop |
Dup |
Swap |
Add |
Sub |
Mul |
Div |
Mod |
Store |
Load |
Mark !Identifier |
Call !Identifier |
Branch !Identifier |
BranchZ !Identifier |
BranchM !Identifier |
BranchP !Identifier |
BranchNP !Identifier |
BranchNM !Identifier |
BranchNZ !Identifier |
Return |
End |
OutputChar |
OutputNum |
InputChar |
InputNum |
Noop |
DebugPrintStack |
DebugPrintHeap |
EOL |

#### Instances

Instances details

Eq Instruction # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Instruction

Methods

(==) :: Instruction -> Instruction -> Bool #

(/=) :: Instruction -> Instruction -> Bool #

Read Instruction # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Instruction

Methods

readsPrec :: Int -> ReadS Instruction #

readList :: ReadS [Instruction] #

readPrec :: ReadPrec Instruction #

readListPrec :: ReadPrec [Instruction] #

Show Instruction # |
Instance details

Defined in HelVM.HelPA.Assemblers.Backend.WSA.Instruction

Methods

showsPrec :: Int -> Instruction -> ShowS #

show :: Instruction -> String #

showList :: [Instruction] -> ShowS #

type InstructionList = [Instruction] #