Sunteți pe pagina 1din 1

Accumulator Register: It is a tri state eight bit register.

It is extensively us
ed in arithmetic,logic, load and store operations,as well as in , input/output (
I/O) operations.Most of the times the result of arithmetic and logical operation
s is stored in the register.
An accumulator is a register for short-term, intermediate storage of arithmetic
and logic data in a computer's CPU (central processing unit). The term "accumula
tor" is rarely used in reference to contemporary CPUs, having been replaced arou
nd the turn of the millennium by the term "register." In a modern computers, any
register can function as an accumulator.
The most elementary use for an accumulator is adding a sequence of numbers. The
numerical value in the accumulator increases as each number is added, exactly as
it happens in a simple desktop calculator (but much faster, of course). Once th
e sum has been determined, it is written to the main memory or to another regist
er.
The term "accumulator" is used in a wide variety of noncomputing applications an
d activities, such as electrical engineering (an energy storage device such as a
rechargeable battery or ultracapacitor), hydraulics (a mechanical energy storag
e device), in stock trading (a contract or agreement), and even in gambling (a p
arlay bet).
AX are the 16 lower bits of EAX. AL are the 8 high bits of AX (ie the bits 8-15
of EAX) and AL is the least significant byte (bits 0-7) of EAX as well as AX.
Example:
EAX: 12 34 56 78
AX: 56 78
AH: 56
AL: 78

S-ar putea să vă placă și