Virgil Dupras
20861767e6
avra: generalize arg swapping behavior
2019-12-15 16:36:43 -05:00
Virgil Dupras
14fbfa2967
avra: small _parseArgs refactoring
...
Take argspec pairs directly as an argument instead of taking a
pointer to an argspec pair.
2019-12-15 16:25:16 -05:00
Virgil Dupras
62eb5589c3
avra: refactor instruction tbl
...
The instruction table is now beefier and has redundant data, but
this simplifies processing. This should simplify upcoming work.
2019-12-15 15:53:28 -05:00
Virgil Dupras
64935d8b40
avra: add IN and OUT instructions
2019-12-15 08:43:59 -05:00
Virgil Dupras
ab578159b7
avra: refactor args parsing
...
This costs us a bit of space for now but should make things a lot
simpler down the road, especially with "alias ops" which are simple
syntactic sugar for another op.
2019-12-14 15:17:55 -05:00
Virgil Dupras
fa75f30ffb
avra: add RJMP and RCALL instructions
2019-12-14 12:28:27 -05:00
Virgil Dupras
33c480a5dd
avra: remove useless instrBRBits table
...
I had written this when trying different approaches to adding BR and
I forgot to remove it.
2019-12-14 09:41:36 -05:00
Virgil Dupras
a5efc695e9
avra: add "Rd + bit" instructions
2019-12-14 09:33:46 -05:00
Virgil Dupras
c696fcbce4
avra: add "with immediate" instructions
2019-12-14 09:05:38 -05:00
Virgil Dupras
4b9712a224
avra: add branching instructions
2019-12-13 22:49:15 -05:00
Virgil Dupras
57c1a10434
avra: first steps
2019-12-13 17:38:40 -05:00