any proof why or why not.
No, it's not remotely true.
However, when C first hit the streets, it was described to me as
a substitute for assembly language, to the extent that you could
actually write an operating system in it.
I was entirely skeptical until I started working with it, at which
point the light came on. Pointers and bitfields as implemented in
C were a completely radical concept at the time, and using C was
like having the veil removed from your eyes and the mittens removed
from your fingers. It transformed programming like nothing I had
ever seen before.
The fact that I could write a device driver in a high-level language
was mind-blowing.
However, the last time I ever programmed in assembly language was two
decades ago.
The last time I programmed in assembly language was one decade ago. I was
writing the inner core of the interrupt-handling and context-switching
code for a new microprocessor.
A small amount of code had to be written in assembly, but all the rest
of the operating system was written in C.
The person who said this
claimed that modern assembly languages no longer implement a one-to-one
relationship between assembly language instructions and machine language
instructions, but are free to choose from a wide variety of possible
translations.
Maybe, depending on architecture. The machine I was writing for
had an entirely old-school what-you-write-is-what-you-get assembler.
Also, he claimed that modern assembly languages are no
longer restricted to a particular processor, that the same assembly code
can be used to generate different machine code on different platforms,
even if they have significantly different architectures.
Color me skeptical. But then, I've been wrong before.
On the basis of
that claim, he asserted that, since the same was true of C, C could
therefore be classified as an assembly language. To me, it would seem
more reasonable to say that the languages he described (if he was
describing them correctly) were now high level languages, and no longer
assembly languages.
Agreed.