Answer the question
In order to leave comments, you need to log in
What is assembler for?
Why does assembler exist now? Previously, when drivers and loaders for systems were written on it, as well as low-level tasks, what is written on it now? Uefi can run .efi pe files written in C, drivers are also written in C, and since C, if I'm not mistaken, is compiled first into asm, and then into binary, it turns out that the assembler becomes stupidly unnecessary
Answer the question
In order to leave comments, you need to log in
If you need to get some specific code at the output, without fear that the compiler or optimizer of a high-level PL will "rephrase" it with its instructions. In 99.99% of cases this is not necessary.
Assembler is actively used for:
* SIMD optimizations in the most complex tasks: video encoding and decoding, emulation of other architectures (for example, game consoles on a computer)
* Writing (parts of) low-level code for processors: bootroms, firmware, etc.
* Creating the same UEFI for a specific architecture / chipset
since si, if I'm not mistaken, is compiled first into asm, and then into a binary,Yes, sometimes.
it turns out that the assembler stupidly becomes unnecessaryNo. The .asm file will not compile itself into a binary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question