Psrclr Imm5 - Epson S1C33 Series Core Manual

Cmos 32-bit single chip microcomputer
Hide thumbs Also See for S1C33 Series:
Table of Contents

Advertisement

7 DETAILS OF INSTRUCTIONS

psrclr imm5

Function
Clear PSR bit
Standard)
Extension 1) Unusable
Extension 2) Unusable
15
Code
1
0
1
|
|
IE
C
V
Flag
↔ ↔ ↔ ↔ ↔
|
|
Mode
Immediate
CLK
Three cycles
Description
Clear the bit in the PSR specified by the immediate imm5 to 0. The value of imm5 indicates a
bit number, with values 0, 1, 2, 3, and 4 representing bits 0 (N), 1 (Z), 2 (V), 3 (C), and 4 (IE),
respectively. An imm5 of more than 4 is not effective and does not alter the contents of PSR.
Example
psrclr
140
psr ← psr & !imm5
12 11
8
7
|
|
1
1
1
1
1
1
0
|
|
|
|
|
Z
N
|
|
; V ← 0 (V flag cleared)
2
5
4
0
|
0
imm5
|
|
|
|
|
EPSON
0xBF8_
S1C33 FAMILY C33 PE CORE MANUAL

Advertisement

Table of Contents
loading

Table of Contents