Professional Documents
Culture Documents
Assembly language
Anassembly
language(orassembler
language) is alow-level programming
languagefor acomputer, or other
programmable device, in which there is a
very strong (generallyone-to-one)
correspondence between the language and
thearchitecture'smachine code
instructions.
Each
Assembly
language is converted
into executable machine code by
autility programreferred to as
anassembler; the conversion
process is referred to
asassembly, orassemblingthe
code.
Assembly
Low-Level Language
Definition - What does Low-Level Language mean?
Low-level language is a programming language that
deals with a computer's hardware components and
constraints. It has no or a minute level of
abstraction in reference to a computer and works
to manage a computer's operational semantics.
Low-level language may also be referred to as a
computers native language.
Machine
The
is hard to learn.
Assembly is hard to read and understand.
Assembly is hard to debug.
Assembly is hard to maintain.
Assembly language programming is time
consuming.
Today, machines are so fast that we no longer
need to use assembly.
Number Systems
We
humans use decimal number system as the basis for our daily
computing activities. But how about Computers? Do they use
decimals too?
No. Computers use different number system, called binary.
Decimal
Binary
5 . 4
10 1
1/10 weights
The weight of each position determines how much the digit in that position
contributes to the value of the number.
For example, because the 2 in 25.4 occupies the 10s position ( i.e., the position
with weight 10), it contributes 2 x 10 = 20 to the value of the number. The value
of a decimal number is the sum of each digit times its weight. Thus the value of
25.4 is:
2 x 10 + 5 x 1 + 4 x 1/10
In
We
Binary
+1x1
+ 1 x = 11.5