Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 860 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 860 Bytes

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