What it solves
Consider this instruction, where we have to add the two numbers 1 and 2.
Assembly
Hexadecimal
More readable hexadecimal
Binary code with a mistake. Happy debugging
The purpose of an assembly language can easily be seen with the help of the above example. Assembly language with the help of its syntax makes it easier to code and not worry about trivial tasks such as opcodes, address calculations, etc. Mistakes if any can easily identified in assembly rather than in binary. Imagine finding such mistakes in a pool of just a numbers!
Last updated