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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 10: INSTRUCTION EXTENDER
10.6.8 Bit Operation Instructions
Types and functions of extended instructions
These extended instructions allow a memory address for manipulating bits to be specified with a symbol or
32-bit immediate.
Note: The second operand (imm3) used to specify a bit number does not cause an error in the ext33
Basic instructions after expansion
Expansion formats
(1) xOP [symbol+imm32], imm3
142
xbtst
xbclr
xbset
xbnot
xbtst
xbclr
xbset
xbnot
xbtst
xbclr
xbset
xbnot
xbtst
xbclr
xbset
xbnot
xbtst
xbclr
xbset
xbnot
"symbol imm32" means that "symbol+imm32" and "symbol-imm32" can be specified.
xbtst
xbclr
xbset
xbnot
When [symbol+imm32] is specified
Example: xbtst [symbol+imm32], imm3
When global pointer is not specified:
symbol+imm32
ld.w
btst
Unknown symbol
ext
ext
ld.w
btst
providing that it is within the range of values represented by unsigned 32 bits. It is output as the
operand of a basic instruction directly as is. Note that the effective range of the basic
instructions is 3 unsigned bits.
Extended instruction
[symbol imm32], imm3
[symbol imm32], imm3
[symbol imm32], imm3
[symbol imm32], imm3
[imm32], imm3
[imm32], imm3
[imm32], imm3
[imm32], imm3
[%rb+symbol imm32], imm3
[%rb+symbol imm32], imm3
[%rb+symbol imm32], imm3
[%rb+symbol imm32], imm3
[%rb+imm32], imm3
[%rb+imm32], imm3
[%rb+imm32], imm3
[%rb+imm32], imm3
[%sp+imm32], imm3
[%sp+imm32], imm3
[%sp+imm32], imm3
[%sp+imm32], imm3
%r9, symbol+imm32@l
[%r9], imm3
symbol+imm32@h
symbol+imm32@m
%r9, symbol+imm32@l
[%r9], imm3
Expanded into the btst instruction
Expanded into the bclr instruction
Expanded into the bset instruction
Expanded into the bnot instruction
0x1f
xOP [symbol-imm32], imm3
B[symbol imm32] bit test
B[symbol imm32] bit clear
B[symbol imm32] bit set
B[symbol imm32] bit negation
B[imm32] bit test
B[imm32] bit clear
B[imm32] bit set
B[imm32] bit negation
B[%rb+symbol imm32] bit test
B[%rb+symbol imm32] bit clear
B[%rb+symbol imm32] bit set
B[%rb+symbol imm32] bit negation
B[%rb+imm32] bit test
B[%rb+imm32] bit clear
B[%rb+imm32] bit set
B[%rb+imm32] bit negation
B[%sp+imm32] bit test
B[%sp+imm32] bit clear
B[%sp+imm32] bit set
B[%sp+imm32] bit negation
0x1f < symbol+imm32 0x3ffff
ext
ld.w
btst
symbol+imm32@m
%r9, symbol+imm32@l
[%r9], imm3
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Function
symbol+imm32 > 0x3ffff
ext
ext
ld.w
btst
(OP = btst, bclr, bset, bnot)
symbol+imm32@h
symbol+imm32@m
%r9, symbol+imm32@l
[%r9], imm3
S5U1C33000C MANUAL
Expansion
format
(1)
(1)
(1)
(1)
(2)
(2)
(2)
(2)
(3)
(3)
(3)
(3)
(4)
(4)
(4)
(4)
(5)
(5)
(5)
(5)

Related parts for s5u1c33000c