s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 149

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
10.6.3 Logic Operation Instructions
Types and functions of extended instructions
These extended instructions allow a signed 32-bit immediate to be specified directly in a logical operation.
Basic instructions after expansion
Expansion formats
(1) xOP %rd, %rd, sign32
(2) xOP %rd, %rs, sign32
(3) xnot %rd, sign32
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
xand
xoor
xxor
xand
xoor
xxor
xnot
xand
xoor
xxor
xnot
Example: xand %rd, %rd, sign32
Example: xand %rd, %rs, sign32
-32
and
-32
not
0x0
(within 13 bits)
ext
and
0xfffc0000
(-262144
ld.w
ext
and
Extended instruction
%rd, %rd, sign32
%rd, %rd, sign32
%rd, %rd, sign32
%rd, %rs, sign32
%rd, %rs, sign32
%rd, %rs, sign32
%rd, sign32
sign32
sign32
sign32
%rd, sign32(5:0)
%rd, sign32(5:0)
sign32(12:0)
%rd, %rs
%rd, %rs
sign32(18:6)
%rd, sign32(5:0)
Expanded into the and instruction
Expanded into the or instruction
Expanded into the xor instruction
Expanded into the not instruction
sign32 < -32)
sign32 < 0xffffffe0
31
31
0x1fff
%rd
%rd
%rd
%rd
%rd
%rd
%rd
(OP = and, oor, xor)
(OP = and, oor, xor)
%rd & sign32
%rd | sign32
%rd ^ sign32
%rs & sign32
%rs | sign32
%rs ^ sign32
!sign32
-262144
or 31 < sign32
ext
and
-262144
or 31 < sign32
ext
not
0x1fff < sign32
(within 26 bits)
ext
ext
and
0xffffffe0
(-32
ld.w
and
sign32
sign32(18:6)
%rd, sign32(5:0)
sign32(18:6)
%rd, sign32(5:0)
sign32(25:13)
sign32(12:0)
%rd, %rs
%rd, %rs
%rd, sign32(5:0)
sign32 < -32
sign32 < -32
sign32 0xffffffff
EPSON
-1)
262143
262143
0x3ffffff
Function
CHAPTER 10: INSTRUCTION EXTENDER
sign32 < -262144
or 262143 < sign32
ext
ext
and
sign32 < -262144
or 262143 < sign32
ext
ext
not
0x3ffffff < sign32 < 0xfffc0000
(26 bits < sign32 < -262144)
ld.w
ext
ext
and
sign32(31:19)
sign32(18:6)
%rd, sign32(5:0)
sign32(31:19)
sign32(18:6)
%rd, sign32(5:0)
%rd, %rs
sign32(31:19)
sign32(18:6)
%rd, sign32(5:0)
Expansion
format
(1)
(1)
(1)
(2)
(2)
(2)
(3)
133

Related parts for s5u1c33000c