Differences Between Machine and Assembly Language
Q4: Write two differences between machine and assembly language.
Answer:
Parameters | Machine Language | Assembly Language |
Syntax Nature Application Areas Code Representation Translator Requirement | Machine languages are composed of binary digits (1s and 0s). Machine languages are primarily used for machine coding. Machine languages represent data and information using binary (1s and 0s), octal, and hexadecimal formats. Machine languages do not require translators as they are already in a form that machines can understand. | Assembly languages use a syntax similar to English, making it more understandable to non-programmers. Assembly languages can be used in microprocessor-based applications and real-time systems. Assembly languages use mnemonics like End, Sub, Ass, Mov, Mul, etc., to represent data and information. Assembly languages require translators, also known as assemblers, to convert the mnemonics into a form that machines can understand. |
Comments
Post a Comment