IBM PPC440X5 Manual do Utilizador Página 268

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 590
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 267
b
Branch
PPC440x5 CPU Core User’s Manual Preliminary
Page 268 of 589
instrset.fm.
September 12, 2002
b
Branch
If AA = 1 then
LI
target
6:29
NIA EXTS(LI ||
2
0)
else
LI
(target – CIA)
6:29
NIA CIA + EXTS(LI ||
2
0)
if LK = 1 then
(LR)
CIA + 4
PC
NIA
The next instruction address (NIA) is the effective address of the branch target. The NIA is formed by adding
a displacement to a base address. The displacement is obtained by concatenating two 0-bits to the right of
the LI field and sign-extending the result to 32 bits.
If the AA field contains 0, the base address is the address of the branch instruction, which is the current
instruction address (CIA). If the AA field contains 1, the base address is 0.
Instruction execution resumes with the instruction at the NIA.
If the LK field contains 1, then (CIA + 4) is placed into the LR.
Registers Altered
LR if LK contains 1
b target AA=0, LK=0
ba target AA=1, LK=0
bl target AA=0, LK=1
bla target AA=1, LK=1
18 LI AA LK
06 30 31
Vista de página 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 589 590

Comentários a estes Manuais

Sem comentários