Why do we write assembly code?
If we have an application where
- speed of program is critical and/or
- size of program is critical
we might write part of the program in assembler.
Try a high-level language first!
But if the compiler (even with optimization)
doesn't do a good enough job:
- find the critical parts of the program
- re-write them in assembler
Index