Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Manual de usuario Pagina 173

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 181
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 172
7 DETAILS OF INSTRUCTIONS
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
165
swap %rd, %rs
Function
Swap
Standard) rd(31:24)
rs(7:0), rd(23:16) rs(15:8), rd(15:8) rs(23:16), rd(7:0) rs(31:24)
Extension 1) Unusable
Extension 2) Unusable
Code
15 12 11 8 7 4 3 0
1 0 0 1 0 0 1 0
r s r d
0x92__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
|
|
|
|
Mode
Src: Register direct %rs = %r0 to %r15
Dst: Register direct
%rd = %r0 to %r15
CLK
One cycle
Description
(1) Standard
Swaps the byte order of the rs register high and low and loads the results to the rd register.
8 716 1524 23
Byte 0
Byte 1
Byte 2
Byte 3
0
rs register
31
8 7
16 1524 23
Byte 3
Byte 2
Byte 1
Byte 0
0
rd register
31
(2) Delayed instruction
This instruction may be executed as a delayed instruction by writing it directly after a branch
instruction with the d bit.
Example
When r1 = 0x87654321
swap %r0,%r1 ; r0 0x21436587
Vista de pagina 172

Comentarios a estos manuales

Sin comentarios