Virgil Dupras
8ded02bc78
avra: fix misordered MOV, MUL, NEG and NOP
4 年之前
Virgil Dupras
f54e10f9fd
avra: add CALL and JMP
4 年之前
Virgil Dupras
10b925e0e0
avra: add BCLR and BSET
4 年之前
Virgil Dupras
1771ee8da7
avra: add SER
4 年之前
Virgil Dupras
0a9ac27cf6
avra: add SBIC and SBIS
4 年之前
Virgil Dupras
a9dcba5793
avra: add CBR instruction
4 年之前
Virgil Dupras
c968995ec0
avra: add CBI and SBI
This completes instruction support for the Blink tn45 example.
4 年之前
Virgil Dupras
5c43988649
avra: code consolidation
4 年之前
Virgil Dupras
b130cac635
avra: code consolidation
4 年之前
Virgil Dupras
52359a4e42
avra: a little code deduplication
4 年之前
Virgil Dupras
e9c692ed50
avra: a litte bit of code deduplication
4 年之前
Virgil Dupras
2652c81519
avra: make CLR work properly
4 年之前
Virgil Dupras
20861767e6
avra: generalize arg swapping behavior
4 年之前
Virgil Dupras
14fbfa2967
avra: small _parseArgs refactoring
Take argspec pairs directly as an argument instead of taking a
pointer to an argspec pair.
4 年之前
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.
4 年之前
Virgil Dupras
aa8df95f7d
Add "avr/" includes folder
Also, add a "real world" example in AVRA tests, a blink program on
a ATtiny45. Some instructions are commented out because they aren't
implemented yet, but not many.
The output of the program has been verified against AVRA's own
output.
4 年之前
Virgil Dupras
64935d8b40
avra: add IN and OUT instructions
4 年之前
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.
4 年之前
Virgil Dupras
fa75f30ffb
avra: add RJMP and RCALL instructions
4 年之前
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.
4 年之前
Virgil Dupras
a5efc695e9
avra: add "Rd + bit" instructions
4 年之前
Virgil Dupras
c696fcbce4
avra: add "with immediate" instructions
4 年之前
Virgil Dupras
4b9712a224
avra: add branching instructions
4 年之前
Virgil Dupras
57c1a10434
avra: first steps
4 年之前
Virgil Dupras
e691dab070
zasm: little drive-by optimization
Use IX directly for argspec rows instead of going through DE. It saves a bit
of processing. The code was this way because I initially didn't use IX at all,
so as code evolved, that DE translation stayed as an artifact.
4 年之前
Virgil Dupras
0d7693a163
core: remove writeHLinDE
It wasn't used much so I inlined it.
4 年之前
Virgil Dupras
4f7a05e3b7
core: remove cpHLDE
It wasn't used much, so I replaced its use in the kernel with direct code
and moved the routine in apps/ed, the only other place where it was used.
4 年之前
Virgil Dupras
43f4c5200e
basic: don't choke on ':' in '"' literals
4 年之前
Virgil Dupras
3db38b0d89
basic: add while command
4 年之前
Virgil Dupras
51c977f2ed
basic: allow multiple commands on the same line
4 年之前
Virgil Dupras
1710c865dc
doc: refer to the new BASIC shell in example
ref #80
4 年之前
Virgil Dupras
25d25d017c
Replace old shell with BASIC shell
fixes #80
4 年之前
Virgil Dupras
20151a97f8
recipes/rc2014/zasm: use BASIC shell
Also made Makefile actually portable.
4 年之前
Virgil Dupras
880775ae69
recipes/rc2014/sdcard: use BASIC shell
4 年之前
Virgil Dupras
beaea6f978
basic: add puth command
4 年之前
Virgil Dupras
105acedab8
basic: improve README
markdown formatting was broken. Also, don't mark it as WIP.
4 年之前
Virgil Dupras
10864afa96
recipes/ti84: use the BASIC shell
4 年之前
Virgil Dupras
4c07639808
basic: make cmd table more compact
This shaves off quite a few bytes from the binary.
4 年之前
Virgil Dupras
4ba84dac5c
basic: add getc/putc commands
4 年之前
Virgil Dupras
77485a0031
basic: change welcome prompt
This is becoming the new shell, it has to step up to its new responsibilities!
4 年之前
Virgil Dupras
fc23a7c4a1
basic: do registers-to-vars transfer after pgm hook call
4 年之前
Virgil Dupras
264e72e0fd
basic: add fnew and fdel commands
4 年之前
Virgil Dupras
7c893dada1
basic: can now execute user apps!
Shell replacement sequence beginning in 3, 2, 1...
4 年之前
Virgil Dupras
b29073b01d
basic: add fopen command
4 年之前
Virgil Dupras
a0daed6812
basic: add usr command
4 年之前
Virgil Dupras
12bc120375
basic: add bsel, bseek, getb, putb commands
4 年之前
Virgil Dupras
8f1d942e5f
basic: add addr command
4 年之前
Virgil Dupras
381d57a513
basic: make variable A the only input variable
Mechanism for assigning inputs to the specified variable is clumsy and uses
binary space. Always using A is much simpler and doesn't seem very limiting to
me. I do that because there's many more "input" commands I'd like to add.
4 年之前
Virgil Dupras
e1df320d44
basic: add ldbas command
4 年之前
Virgil Dupras
13f935aa88
basic: add fls command
Also, add the new `bshell` emulated tool. BASIC is on its way to replace the
shell.
4 年之前