Ah, the old Intel 8051. It was the first CPU I developed a debugger for and it brings back great memories. Writing a compiler for any CPU is similar to any other CPU. While I haven't written one, the two books I can highly recommend are "Compilers: Principles, Techniques and Tools" by Alfred V. Aho, Ravi Sethi and Jeffrey D. Ullman and "Compiler Design in C" by Allen Holub.
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.