ARMCOM (.com) File Format

ARMCOM is an executable file format for ARM64 written for CS241. It contains ARM64 machine code, augmented with a table containing relocation and linking information. An ARMCOM .com file has three components, in this order:

Note that the location fields in the footer are byte offsets from the start of the ARMCOM file, not from the start of the program section. This means that the location of a relocatable value is always 0x14 (the size of the header) plus the offset of the value within the program section.