ARM (LEGv8) to Machine binary Translator
This is NOT a compiler, it just generates a simple translation of characters
-
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
- 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
- OP2 bits in D-Type Instructions
- Some Uncommon Instructions
- Pseudo-Instructions
- IW/IM Instructions
- Comments