Zilog Z8F0130 Manual do Utilizador Página 227

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 314
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 226
eZ8
CPU Core
User Manual
UM012820-0810 RLC Instruction
212
Attributes
Escaped Mode Addressing
Using Escaped Mode Addressing, address modes R or IR specify a work-
ing register. If the destination address is prefixed by Eh (1110b), a work-
ing register is inferred. For example, if Working Register R12 (Ch) is the
preferred destination operand, use
ECh as the destination operand in the
Op Code. To access registers with addresses
E0h to EFh, either set the
Working Group Pointer,
RP[7:4], to Eh or use indirect addressing.
Sample Usage
If the Carry flag is reset and Register C6h contains the value 8F
(
10001111b), the following statement leaves Register C6h with the value
1Eh (00011110b), sets the C and V flags and clears S and Z flags:
RLC C6
Object Code: 10 C6
If the Carry flag is reset, Working Register R4 contains the value C6h, and
Register
C6h contains the value 8F (10001111b), the following state-
ment leaves Register C6h with the value 1Eh (00011110b), sets the C
and V flags and clears the S and Z flags:
RLC @R4
Object Code: 11 E4
Mnemonic Destination
Op
Code
(Hex) Operand 1 Operand 2 Operand 3
RLC R1 10 R1
RLC @R1 11 R1
Vista de página 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 313 314

Comentários a estes Manuais

Sem comentários