Zilog Z8F0130 Manual do Utilizador Página 187

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 314
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 186
eZ8
CPU Core
User Manual
UM012820-0810 LDCI Instruction
172
Attributes
Sample Usage
If Working Register Pair R6–R7 contains 30A2h, Program Memory loca-
tions 30A2h and 30A3h contain 22h and BCh respectively, and Working
Register R2 contains
20h, the following statement loads the value 22h
into Register
20h:
LDCI @R2, @RR6
Object Code: C3 26
Working Register Pair RR6 increments to 30A3h and Working Register
R2 increments to
21h. A second instruction loads the value BCh into Reg-
ister 21h, as follows:
LDCI @R2, @RR6
Object Code: C3 26
Working Register Pair RR6 increments to 30A4h and Working Register
R2 increments to
22h.
If Working Register R2 contains 20h, Register 20h contains 22h, Regis-
ter 21h contains BCh, and Working Register Pair R6–R7 contains 30A2h,
the following statement loads the value
22h into Program Memory loca-
tion 30A2h:
LDCI @RR6, @R2
Object Code: D3 26
Working Register R2 increments to 21h and Working Register Pair
R6–R7 increments to
30A3h.
Mnemonic
Destination,
Source
Op
Code
(Hex) Operand 1 Operand 2 Operand 3
LDCI @r1, @rr2 C3 {r1, rr2}
LDCI @rr1, @r2 D3 {r2, rr1}
Vista de página 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 313 314

Comentários a estes Manuais

Sem comentários