3 ms·
> CPU’s natively use a language referred to as “Assembly”, b Strictly, CPUs use machine code. Assembly targeting a particular CPU is a very thin more-human-rea
by dragonwriter 3y ago
> CPU’s natively use a language referred to as “Assembly”, b
Strictly, CPUs use machine code. Assembly targeting a particular CPU is a very thin more-human-readable abstraction around the underlying machine code, but it is not, itself, what the CPU executes. That’s why “assemblers” exist – they are compilers from assembly language to machine code (though, because assembly is a very thin abstraction, they are much simpler than most other compilers.)
- tester756 3y agoWould calling "Assembly" a CPU's frontend language be correct? The same way as it is in compilers
- detrites 3y agoAgree. And deeper than that may be microcode, which we rarely see or reason about, and while may very much be there is rarely of practical use. (Ie, when learning, the distinctions may be somewhat an impediment without payoff.)