diff --git a/README.md b/README.md index bce553f..6c05b66 100644 --- a/README.md +++ b/README.md @@ -1 +1,23 @@ -# dsl-sixty-five-oh-two +# A 65C02 Assembly DSL for Haskell + +_... shut up, show me the code!_ + +Here's some example code utilizing all of the features of the DSL: + +```haskell +import SixtyFiveOhTwo.Instruction + +accumulatorLoadNStore :: Instruction +accumulatorLoadNStore = do + lda (Immediate 0x10) + sta (Absolute 0x0200) + rts (Implied) + +myProgram :: Instruction +myProgram = do + define "accumulatorLoadNStore" accumulatorLoadNStore + call "accumulatorLoadNStore" +``` +(taken from main.hs) + +More documentation coming soon! diff --git a/fancy_banner.png b/fancy_banner.png new file mode 100644 index 0000000..2e30f62 Binary files /dev/null and b/fancy_banner.png differ diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..edc20d6 Binary files /dev/null and b/screenshot.png differ