-2
$\begingroup$

What are the benefits and cons of using an assembler, rather than programming directly into hexadecimal or binary code?

$\endgroup$
5
$\begingroup$
  1. Readability.
  2. Writability.
  3. Usability.
  4. Sanity.
  5. Humanity.

I'll leave it as an exercise which of these are advantages and which ones are disadvantages.

$\endgroup$
1
  • $\begingroup$ I remember the time when I was a small kid when my father sat at thi kitchen desk and scribbled hexadecimal codes with a pencil next to a printout of a column of hexadecimal codes. $\endgroup$ – Andrej Bauer May 9 '17 at 17:47
2
$\begingroup$

It is not practical to program in binary or hexadecimal, as it would be nearly unreadable. Programming in assembly allows the programmer to write very precise instructions for the processor, while still allowing them to produce a readable and understandable program.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.