Hello, recently I have started learning RISC and CISC Assembly Language and I want to code the driver for Thunderbolt out of necessity. (I have Ubuntu installed on a Macbook Air). How would I go about doing that? What would I have it assembled into (.elf?), and where would I place the file once assembled?

Thank you for your help ahead of time. Have a great day.