Skip to content

Razi91/asmy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ARM-like CPU emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published