]> git.the-white-hart.net Git - atmega/siggen.git/commit
Update lots of things
authoruser <none>
Fri, 1 Sep 2023 03:50:24 +0000 (22:50 -0500)
committeruser <none>
Fri, 1 Sep 2023 03:50:24 +0000 (22:50 -0500)
commit2ef5f03c8505fa5faa729ba16319bac9e5e8558b
tree89924ad959be651a0207fb4ba88590bb3debbcd7
parent5097e15f86517db3ca4daf557a64360a512e7336
Update lots of things

- Calculate S flag
- Treat Y imm4 value of 0x0 as 0x10 for some instructions
- Rearrange mul/div opcodes
- Change multiplication algorithm to detect overflows
- Detect division by zero and set C flag
- Add signed div/mod
- Compute C and V flags for shift instructions
- Fix typo in util.inc
asm_2/bytecode.txt
asm_2/interp.asm
asm_2/tbc.inc
asm_2/util.inc