machine-instruction

How was the first compiler written?

≯℡__Kan透↙ 提交于 2019-11-26 03:46:48
问题 I heard about the chicken and the egg and bootstrapping. I have a few questions. What wrote the first compiler that converted something into binary instructions? Is assembly compiled or translated into binary instructions? ...I\'d find it hard to believe they wrote a compiler in binary. 回答1: Assembly instructions are (generally) a direct mapping to opcodes, which are (multi-)byte values of machine code that can be directly interpreted by the processor. It is quite possible to write a program