Google "intel hex" and you'll find information on the format of the hex file, using that you can extract the data off each line. Then convert each line into binary. The Spin ASM manual shows you the format of the binary code created by each command so you can use that to convert it back into ASM.