Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why use Assembly Language?

assembly Language
0
Posted

Why use Assembly Language?

0

Assembly language is very difficult. There are two reasons to study it: performance and access to the machine. Assemblers are faster and more efficient than compilers. An expert assembly language programmer can produce smaller and faster code than a high level language. Where speed and size are critical, such as code on a smart card, the code in a cellular telephone, device drivers, BIOS routines, and the inner loops of performance-critical appliances, here is a big difference. Also some procedures need complete access to hardware (low-level interrupt and trap handlers), which is impossible with high level languages. In many programs, a small percentage of the total code is responsible for a large percentage of the execution time. It is common to have 1% of the program take 50% of the execution time and 10% take 90%. So a hybrid with that small percentage written in assembly language while the rest of the program uses a high level language is done. Computers are efficient with assembly

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123