Accumulator

The Accumulator, as its name suggests, is used as a general register to accumulate the results of a large number of instructions. It can hold an 8-bit (1-byte) value and is the most versatile register the 8051 has due to the shear number of instructions that make use of the accumulator. More than half of the 8051s 255 instructions manipulate or use the accumulator in some way. For example, if the numbers 10 and 20 are added, the resulting 30 will be stored in the accumulator. Once the value is there in accumulator this may used to continue processing the value or can store it in another register or in memory.

Comments

  1. The discussion about the accumulator here is very useful. Even though it is not the main topic but the information and ideas presented are very useful.

    ReplyDelete

Post a Comment

Popular posts from this blog

General puprose registers in 8051.

TCON Special Function register.

TMOD Special Function Register.