/cg2028machineCodeConverter

The python script converts asm instructions to 32 bit machine code as per CG2028 requirements.

Primary LanguagePython

CG2028 ASM to machine code converter

The python script converts asm instructions to 32 bit machine code as per CG2028 requirements.

image

Instructions

  • Make sure you have installed Python 3.8 or above.
  • Download machine_code_converter.py or copy-paste its contents into a .py file.
  • Run the file to get started!

Notes

  • Needs Python 3.8 and above to run code.
  • PC relative indexing not supported.
  • No exception handling at the moment.