Liderazgo en práctica por david fischman
PROGRAMACION DE SISTEMAS
What is Assembly Language?
Programs are compiled into either assembly language or machine language.
E.g. C++, Pascal, Java, Visual Basic, etc.
Software designed for a particular class of applications Contains procedures than can be called from programs written in either high-level language or assembly language. This system may also contain an application programming interface (API).
Assembly Language (ASM) Uses instruction mnemonics that have a one-to-one correspondence with machine …ver más…
No formal structure. make it easy to organize and maintain.
Hardware device driver. Awkward
Awkward coding techniques required.
Hardware access is straightforward and simple. Business application for multiple platforms.
Difficult to maintain.
Embedded systems and computer games requiring direct hardware access.
Produces too much executable code, and may not run efficiently.
Ideal, because the executable code is small and runs quickly.
Binary Numbers/Storage Size
An assembler is a program that converts
ASM code into machine language code: mov al,5 (Assembly Language)
1011000000000101 (Machine Language)
are are used to store both code and data
On Intel’s x86:
most significant byte is the opcode for “move into register AL” the least significant byte is for the operand “5”
byte = 8 bits (smallest addressable unit) word = 2 bytes doubleword = 2 words quadword = 2 doublewords
Directly programming in machine language offers no advantage (over Assembly)...