Yes, it is still used. If you are working directly with the hardware (such as writing an operating system), then there are going to be device level operations that probably can't be described in a high-level language. So you would implement those portions in assembly. For those portions of a system that need performance over pretty much everything else, you will probably use assembly -- this would include highly sensitive applications, such as cryptographic hardware, in which you have to consider side channel attacks such as timing or power variations. For resource-starved platforms, such as ultracheap microcontrollers, you may code everything in assembly. If you are writing a compiler, guess what you are compiling the source code to?Hi everyone,
I am very curious - do engineers still use assembly language in their design nowadays? If they do, where would they typically use it?
Thank you! I am very curious about this subject.
Back then it was quite common to write the whole program in assembly .In former times (1980s 1990s) when using CPUs like 8051 or 8086 it was a common rule to write interrupt routines in assembly language because they performed faster and the compiler technology was less advanced.
I dont think so.C is low level enough to deal with memory mappings.However if your device for some reason cant hold a C compiler(it is a bare microprocessor) then sure assembly is usedHi everyone,
I am very curious - do engineers still use assembly language in their design nowadays? If they do, where would they typically use it?
Thank you! I am very curious about this subject.
That is a real knee slapper. Nobody runs a C compiler on an embedded microcontroller. The compiler runs on a PC and we download the code to simulator or an emulator. When debugging is complete, we program the parts and assemble the boards.I dont think so.C is low level enough to deal with memory mappings.However if your device for some reason cant hold a C compiler(it is a bare microprocessor) then sure assembly is used
I had one of these a hundred years ago, something like this will teach you a great deal if they still sell such stuffHi everyone,
I am very curious - do engineers still use assembly language in their design nowadays? If they do, where would they typically use it?
Thank you! I am very curious about this subject.

I learned HLASM in the mid ‘80s and started work as an application programmer on IBM mainframes.I've never used assembly myself but I learnt about it when learning compilers. My understanding is assembly is a very low level programming language. It's meant to offer direct access to memory registers and allow full control where a compiler might prevent or limit an operation.
On the other hand, a compiler is quick and generally very efficient at generating machine code. While it's true an operation may run faster in assembly, it's up the programmer to write the entire algorithm and all the sub-routines that normally come ready with something like C or C++.
Unless you have experience writing mathematical algorithms, C++ will do everything you probably need and better than if you wrote the program in assembly. For most things, it seems like a really slow and error prone way to write software. I'd be interested to hear from people who had their careers in assembly like languages.
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
|
|
AI Coding Assistance | Programming & Languages | 5 | |
|
|
test bench code | Homework Help | 1 | |
| M | MPLABX PIC16F887A Assembly coding | Homework Help | 8 | |
| D | PIC assembly coding problem | Programming & Languages | 6 | |
| L | Learning Intel assembly coding | Microcontrollers | 7 |