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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 181
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 143
7 DETAILS OF INSTRUCTIONS
136
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
or %rd, sign6
Function
Logical 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 0 1
sign6 r d
0x74__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
or
%rd,sign6 ; rd rd | sign6
The content of the rd register and the sign-extended 6-bit immediate
sign6 are logically ORed,
and the result is loaded into the rd register.
(2) Extension 1
ext
imm13 ; = sign19(18:6)
or
%rd,sign6 ; rd rd | sign19, sign6 = sign19(5:0)
The content of the rd register and the sign-extended 19-bit immediate
sign19 are logically OR
ed, and the result is loaded into the rd register.
(3) Extension 2
ext
imm13 ; = sign32(31:19)
ext
imm13 ; = sign32(18:6)
or
%rd,sign6 ; rd rd | sign32, sign6 = sign32(5:0)
The content of the rd register and the sign-extended 32-bit immediate
sign32 are logically OR
ed, 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) or %r0,0x3e ; r0 = r0 | 0xfffffffe
(2)
ext 0x7ff
or %r1,0x3f ; r1 = r1 | 0x0001ffff
Vista de pagina 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 180 181

Comentarios a estos manuales

Sin comentarios