3 ms·
> Compared to writing code in assembly language it is a dream, though C is a something of a high-level assembly language. Of course we could write literal asse
by musicale 4y ago
> Compared to writing code in assembly language it is a dream, though
C is a something of a high-level assembly language. Of course we could write literal assembly language in C, pretty much.
r1 = 0
r2 = 1
r3 = r1 + r2
mem[1000] = r3
- Thiez 4y agoExcept that C targets the C abstract machine, which can't do a lot of stuff that is perfectly acceptable in assembly. Such as reading uninitialized memory, padding, overflowing signed integers, forging a pointer (e.g. for memory mapped I/O) out of thin air, dereferencing null...