├── .gitignore ├── Makefile ├── README.md ├── assets ├── amethyst.png └── clip.gif ├── examples ├── addwf.bin ├── andlw.bin ├── bit_test.bin ├── blink.bin ├── call.bin ├── comf.bin ├── dec.bin ├── hello.bin ├── hello_call.bin ├── hello_retlw.bin ├── inc.bin ├── iorlw.bin ├── iorwf.bin ├── movf.bin ├── pattern.bin ├── reg_w.bin ├── rlf.bin ├── rrf.bin ├── subwf.bin ├── swapf.bin ├── xorlw.bin └── xorwf.bin ├── main.c ├── src ├── components │ ├── decode.c │ ├── decode.h │ ├── exec.c │ ├── exec.h │ ├── mem.c │ ├── mem.h │ ├── ram.c │ ├── ram.h │ ├── reg.c │ ├── reg.h │ ├── rom.c │ └── rom.h ├── display.c ├── display.h ├── emulator.c ├── emulator.h ├── rules.h ├── strfy.c ├── strfy.h ├── term.c ├── term.h ├── types.c ├── types.h ├── utils.c └── utils.h └── test.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/README.md -------------------------------------------------------------------------------- /assets/amethyst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/assets/amethyst.png -------------------------------------------------------------------------------- /assets/clip.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/assets/clip.gif -------------------------------------------------------------------------------- /examples/addwf.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/addwf.bin -------------------------------------------------------------------------------- /examples/andlw.bin: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /examples/bit_test.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/bit_test.bin -------------------------------------------------------------------------------- /examples/blink.bin: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /examples/call.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/call.bin -------------------------------------------------------------------------------- /examples/comf.bin: -------------------------------------------------------------------------------- 1 | f 2 | -------------------------------------------------------------------------------- /examples/dec.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/dec.bin -------------------------------------------------------------------------------- /examples/hello.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/hello.bin -------------------------------------------------------------------------------- /examples/hello_call.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/hello_call.bin -------------------------------------------------------------------------------- /examples/hello_retlw.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/hello_retlw.bin -------------------------------------------------------------------------------- /examples/inc.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/inc.bin -------------------------------------------------------------------------------- /examples/iorlw.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/iorlw.bin -------------------------------------------------------------------------------- /examples/iorwf.bin: -------------------------------------------------------------------------------- 1 | & & 2 | -------------------------------------------------------------------------------- /examples/movf.bin: -------------------------------------------------------------------------------- 1 | &@ 2 | -------------------------------------------------------------------------------- /examples/pattern.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/pattern.bin -------------------------------------------------------------------------------- /examples/reg_w.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/reg_w.bin -------------------------------------------------------------------------------- /examples/rlf.bin: -------------------------------------------------------------------------------- 1 | f 2 |  -------------------------------------------------------------------------------- /examples/rrf.bin: -------------------------------------------------------------------------------- 1 | & 2 |  -------------------------------------------------------------------------------- /examples/subwf.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/subwf.bin -------------------------------------------------------------------------------- /examples/swapf.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/swapf.bin -------------------------------------------------------------------------------- /examples/xorlw.bin: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /examples/xorwf.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/examples/xorwf.bin -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/main.c -------------------------------------------------------------------------------- /src/components/decode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/decode.c -------------------------------------------------------------------------------- /src/components/decode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/decode.h -------------------------------------------------------------------------------- /src/components/exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/exec.c -------------------------------------------------------------------------------- /src/components/exec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/exec.h -------------------------------------------------------------------------------- /src/components/mem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/mem.c -------------------------------------------------------------------------------- /src/components/mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/mem.h -------------------------------------------------------------------------------- /src/components/ram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/ram.c -------------------------------------------------------------------------------- /src/components/ram.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/ram.h -------------------------------------------------------------------------------- /src/components/reg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/reg.c -------------------------------------------------------------------------------- /src/components/reg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/reg.h -------------------------------------------------------------------------------- /src/components/rom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/rom.c -------------------------------------------------------------------------------- /src/components/rom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/components/rom.h -------------------------------------------------------------------------------- /src/display.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/display.c -------------------------------------------------------------------------------- /src/display.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/display.h -------------------------------------------------------------------------------- /src/emulator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/emulator.c -------------------------------------------------------------------------------- /src/emulator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/emulator.h -------------------------------------------------------------------------------- /src/rules.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/rules.h -------------------------------------------------------------------------------- /src/strfy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/strfy.c -------------------------------------------------------------------------------- /src/strfy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/strfy.h -------------------------------------------------------------------------------- /src/term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/term.c -------------------------------------------------------------------------------- /src/term.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/term.h -------------------------------------------------------------------------------- /src/types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/types.c -------------------------------------------------------------------------------- /src/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/types.h -------------------------------------------------------------------------------- /src/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/utils.c -------------------------------------------------------------------------------- /src/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/src/utils.h -------------------------------------------------------------------------------- /test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Empitrix/amethyst/HEAD/test.c --------------------------------------------------------------------------------