]> Witch of Git - jade-rose/log
jade-rose
2 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

2 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

2 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.

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

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

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

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

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

2 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