The LBA (load base address) instruction sets the base addresses and
summation modes on the various register file ports. The value of the
base address, and the selection of the summation mode and specific
register file ports are decoded from the value on the AGU. The encoding
of this information is as follows:
The ports selector code is:
00010000 — Port 0
00020000 — Port 1
00040000 — Port 2
00080000 — Port 3
00100000 — Port 4
00200000 — Port 5
The summation mode selector is:
Setting the base address allows indirect run-time register file
addressing by summing the micro-code address (ma) to the base
address (ba), according to the specified mode of summation:
Takes 1 cycles to execute.
Example: LBA
DISP C5 MCC STKC FLW IOC AGU ASEL BS5 P5 BS4 C4 P4 MPC
-----------------------------------------------------------
01180055 0 - - - - E - 0 00 0 0 00 -
00000000 0 - - - - - LBA 0 00 0 0 00 -
NONE
AGU_ED ZERO 0x01180055
!! AGU value that encodes: base address = 0x55
!! ports = Port 3 and Port 4
!! summation mode = Clever summation
LBA
!! Load the base addresses according to the above
!! encoding