Asmy is simple ARM-like processor emulator for learning purposes
yarn test
Language is based od GCC's ARM syntax.
With status and conditional flags:
- ✔️
nop
- ✔️
mov
- ✔️
add
- ✔️
sub
- ✔️
mul
- ✔️
div
- ✔️
and
- ✅
orr
- ✅
eor
- ✅
bic
- ✅
asr
- ✅
lsl
- ✅
lsr
- ✅
ror
Test instructions:
- ✔️
cmp
- ✅
cmn
- ✅
tst
- ✅
teq
Branching:
- ✔️
b
- ✔️
bl
- ✔️
bx
- ✔️
blx
Since this is not real machine and there is only ARM mode,there is no instruction mode switching and instructions like bx
are added just to be compatible