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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 181
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 175
7 DETAILS OF INSTRUCTIONS
168
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
xor %rd, sign6
Function
Exclusive OR
Standard) rd
rd ^ sign6
Extension 1) rd
rd ^ sign19
Extension 2) rd
rd ^ sign32
Code
15 12 11 10 9 4 3 0
0 1 1 1 1 0
sign6 r d
0x78__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
0
|
|
|
|
Mode
Src: Immediate data (signed)
Dst: Register direct
%rd = %r0 to %r15
CLK
One cycle
Description
(1) Standard
xor
%rd,sign6 ; rd rd ^ sign6
The content of the rd register and the sign-extended 6-bit immediate
sign6 are exclusively OR
ed, and the result is loaded into the rd register.
(2) Extension 1
ext
imm13 ; = sign19(18:6)
xor
%rd,sign6 ; rd rd ^ sign19, sign6 = sign19(5:0)
The content of the rd register and the sign-extended 19-bit immediate
sign19 are exclusively
ORed, and the result is loaded into the rd register.
(3) Extension 2
ext
imm13 ; = sign32(31:19)
ext
imm13 ; = sign32(18:6)
xor
%rd,sign6 ; rd rd ^ sign32, sign6 = sign32(5:0)
The content of the rd register and the sign-extended 32-bit immediate
sign32 are exclusively
ORed, and the result is loaded into the rd register.
(4) Delayed instruction
This instruction may be executed as a delayed instruction by writing it directly after a branch
instruction with the d bit. In this case, extension of the immediate by the ext instruction
cannot be performed.
Example
(1) xor %r0,0x3e ; r0 = r0 ^ 0xfffffffe
(2)
ext 0x7ff
xor %r1,0x3f ; r1 = r1 ^ 0x0001ffff
Vista de pagina 175

Comentarios a estos manuales

Sin comentarios