Add readme

This commit is contained in:
Francesco Gazzetta
2022-07-03 18:22:26 +02:00
parent 630a29e8c6
commit 970e85a25c
3 changed files with 59 additions and 2 deletions

View File

@@ -113,6 +113,10 @@ helloWorld = Program [] [helloString] [helloMain]
Nothing [] NoVariadic $
Block "start"
[]
[Call (Just ("r", AbiBaseTy Word)) (ValGlobal "puts") Nothing [Arg (AbiBaseTy Long) $ ValGlobal "str"] []]
[ Call (Just ("r", AbiBaseTy Word)) (ValGlobal "puts")
Nothing
[Arg (AbiBaseTy Long) $ ValGlobal "str"]
[]
]
(Ret $ Just $ ValConst $ CInt False 0)
:| []