Commit Graph

12 Commits

Author SHA1 Message Date
Richard Patel 66b8d92934 add Python module 2021-08-17 00:40:13 +02:00
Richard Patel 4bb6a5d488 Fix clippy 2021-08-15 19:42:26 +02:00
Richard Patel 43cb808c14 Accuracy improvements 2021-08-15 19:25:43 +02:00
Richard Patel 32394a4905 macros/writer: relax syntax 2021-08-15 10:58:55 +02:00
Richard Patel 4853c12054 macros/writer: add mnemonic suffixes 2021-08-15 10:42:27 +02:00
Richard Patel 67efa31bbd create write_asm macro 2021-08-15 10:32:46 +02:00
Richard Patel 0c65617c69 macros: cleanup 2021-08-15 07:06:31 +02:00
Richard Patel 9e5fa58e3e auto-generate mnemonics function 2021-08-14 11:02:10 +02:00
Richard Patel fca4e052a6 add info to Cargo.tomls 2021-08-14 10:31:21 +02:00
Richard Patel d8e951befc
lib: use opcode masks (#7)
Implements a procedural macro for defining the ISA.
Moves validity checks to bitmasks instead of spaghetti code patterns.

Solves #1
2021-08-14 10:17:10 +02:00
Richard Patel 3971f22b11 macros: Generate Opcode::is_valid() 2021-08-14 09:05:30 +02:00
Richard Patel f3aa97b365 Opcode table via procedural macro 2021-08-14 08:40:36 +02:00