]> Witch of Git - jade-rose/log
jade-rose
4 years agoAdd instruction formatter
Cassie Jones [Sun, 12 Jan 2020 00:35:23 +0000 (19:35 -0500)]
Add instruction formatter

4 years agoAdd support for binary, hex, and octal literals
Cassie Jones [Sat, 11 Jan 2020 23:29:53 +0000 (18:29 -0500)]
Add support for binary, hex, and octal literals

4 years agoAdd decoding with proptest round-trip test
Cassie Jones [Sat, 11 Jan 2020 22:31:19 +0000 (17:31 -0500)]
Add decoding with proptest round-trip test

4 years agoAdd a very basic assembler utility
Cassie Jones [Sat, 11 Jan 2020 12:20:21 +0000 (07:20 -0500)]
Add a very basic assembler utility

4 years agoAdd parser and encoder tests, fix a parser bug
Cassie Jones [Sat, 11 Jan 2020 11:57:34 +0000 (06:57 -0500)]
Add parser and encoder tests, fix a parser bug

We test the parser by parsing an instruction, and then encoding it back
to binary, printed nicely. The test cases are generated by looking at
the spec table.

The parser was incorrectly parsing LD2U as ST2U. Fixed.

4 years agoAdd an instruction parser
Cassie Jones [Sat, 11 Jan 2020 11:10:33 +0000 (06:10 -0500)]
Add an instruction parser

4 years agoAdd instruction encoder
Cassie Jones [Sat, 11 Jan 2020 08:52:38 +0000 (03:52 -0500)]
Add instruction encoder

4 years agoAdd Reg constructor
Cassie Jones [Sat, 11 Jan 2020 07:42:32 +0000 (02:42 -0500)]
Add Reg constructor

4 years agoAdd encode and decode traits
Cassie Jones [Sat, 11 Jan 2020 06:50:31 +0000 (01:50 -0500)]
Add encode and decode traits

4 years agoAdd instruction datatype
Cassie Jones [Sat, 11 Jan 2020 06:44:06 +0000 (01:44 -0500)]
Add instruction datatype

4 years agoAdd Jordan Rose's ISA spec
Cassie Jones [Sat, 11 Jan 2020 05:58:12 +0000 (00:58 -0500)]
Add Jordan Rose's ISA spec