ARM Developer offers a good article on Intel hex format specification:
https://developer.arm.com/documentation/ka003292/latest/