Commit Graph

6 Commits

Author SHA1 Message Date
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