fun stuff

This commit is contained in:
Aearnus 2018-05-25 01:50:04 -07:00
parent 04e42a470a
commit 5635038ecc
3 changed files with 23 additions and 1 deletions

View File

@ -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!

BIN
fancy_banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB