title: What compiler would I use to write machine language?
body: <p>Just out of interested I would like to write a small program in machine code.</p>
  
  <p>I am currently learning about registers, ALU, buses and memory and I'm slightly fascinated that instructions can be written in binary instead an assembly language.</p>
  
  <p>Would a compiler would need to be used?</p>
  
  <p>Preferably one that runs on OSX.</p>