Skip to content

Reveran/LEGv8-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEGv8-Machine

ARM (LEGv8) to Machine binary Translator

Advice!

This is NOT a compiler, it just generates a simple translation of characters

Notes

  • The library Bitarray is needed, Run: pip install bitarray

  • The labels MUST be separated from the instructions by tabulations "\t" (as many as you like / need)

  • The instruction parts MUST Be separated by ONE space " "

    Labels Instructions
    load0 ADDI X14 XZR #0

Status

  • Translate type (R, I, D, B, CB) instructions
  • Calculates the address offsets of CB and B instructions
  • Uses the Two's Complement for negative address offsets

Still Unimplemented

  • OP2 bits in D-Type Instructions
  • Some Uncommon Instructions
  • Pseudo-Instructions
  • IW/IM Instructions
  • Comments

About

ARM (LEGv8) to Machine binary Translator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages