beautypg.com

Table 1. cpu registers – Rainbow Electronics MAX1464 User Manual

Page 27

background image

MAX1464

Low-Power, Low-Noise Multichannel

Sensor Signal Processor

______________________________________________________________________________________

27

ADDRESS

REF

ALT NAME

FUNCTION

0h

R0

P

Pointer Register. This register contains the address of the instruction or data in FLASH
memory to be fetched.

1h

R1

A

Accumulator Register. This register generally contains the result of any operation
involving two or more registers. It is the accumulator for the multiregister operation
result and can be used effectively to carry data from one computation to the next. The
A register can read and write data to and from any other CPU port or register.

2h

R2

General-Purpose Register. Used to hold intermediate calculation results, calculation
coefficients, loop counter values, event counter values, comparison limit values, etc.

3h

R3

N

Multiplicand Register. This register has a dedicated function when executing a
multiply (MLT) instruction, but can be used as a general-purpose register otherwise.
The contents of the N register are not modified by the MLT instruction.

4h

R4

M

Multiplier Register. This register has a dedicated function when executing a multiply
(MLT) instruction, but can be used as a general-purpose register otherwise. The
contents of the M register are modified by the MLT instruction. The data contents prior
to the execution of the MLT instruction are overwritten with the LSBs resulting product,
and hence lost.

5h

R5

I

Index Register. The branch not zero (BNX) and branch positive (BPX) instructions test
the index register, I, for conditions to determine if branching should occur. If the index
register tests true for the condition to branch, then the contents of register X are added
to the pointer register, therefore executing a branch in the program.

6h–Fh

R6–RF

General-Purpose Registers. Used to hold intermediate calculation results, calculation
coefficients, loop counter values, event counter values, comparison limit values, etc.

Table 1. CPU Registers