Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.03 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.03 KB

Asmy is simple ARM-like processor emulator for learning purposes

Test

yarn test

Language

Language is based od GCC's ARM syntax.

Instructions

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

Differences

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