參數(shù)資料
型號: S1C7XXXF00E199
元件分類: 微控制器/微處理器
英文描述: 16-BIT, 90 MHz, RISC MICROCONTROLLER, PQFP
文件頁數(shù): 181/196頁
文件大?。?/td> 1650K
代理商: S1C7XXXF00E199
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁當前第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁
7 DETAILS OF INSTRUCTIONS
S1C17 FAMILY S1C17 CORE MANUAL
EPSON
7-21
cmp.a
%rd, %rs
cmp.a/c %rd, %rs
cmp.a/nc %rd, %rs
Function
24-bit comparison
Standard)
rd
(23:0) - rs(23:0)
Extension 1) rs(23:0) - imm13(zero extended)
Extension 2) rs(23:0) - imm24
Code
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
0 0 1 1 0 1
r d
1 0 0 0
r s
cmp.a
|
0 0 1 1 0 1
r d
0 0 0 0
r s
cmp.a/c
|
0 0 1 1 0 1
r d
0 1 0 0
r s
cmp.a/nc
|
Flag
IL IE
C
V
Z
N
– –
– –
cmp.a
|
– – – –
cmp.a/c, cmp.a/nc
|
Mode
Src:Register direct %rs = %r0 to %r7
Dst:Register direct %rd = %r0 to %r7
CLK
One cycle
Description (1) Standard
cmp.a
%rd,%rs
; rd - rs
Subtracts the contents of the rs register from the contents of the rd register, and sets or resets the
flags (C, V, Z and N) according to the results. It does not change the contents of the rd register.
(2) Extension 1
ext
imm13
cmp.a
%rd,%rs
; rs - imm13
Subtracts the 13-bit immediate imm13 from the contents of the rs register, and sets or resets the
flags (C, V, Z and N) according to the results. The imm13 is zero-extended into 24 bits prior to
the operation. It does not change the contents of the rd and rs registers.
(3) Extension 2
ext
imm13
; imm13(10:0) = imm24(23:13)
ext
imm13
; = imm24(12:0)
cmp.a
%rd,%rs
; rs - imm24
Subtracts the 24-bit immediate imm24 from the contents of the rs register, and sets or resets the
flags (C, V, Z and N) according to the results. It does not change the contents of the rd and rs
registers.
(4) Conditional execution
The /c or /nc suffix on the opcode specifies conditional execution.
cmp.a/c
Executed as cmp.a when the C flag is 1 or executed as nop when the flag is 0
cmp.a/nc Executed as cmp.a when the C flag is 0 or executed as nop when the flag is 1
In this case, the ext instruction can be used to extend the operand.
(5) Delayed slot instruction
This instruction may be executed as a delayed slot 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) cmp.a
%r0,%r1
; Changes the flags according to the results of
; r0 - r1.
(2) ext
0x1
ext
0x1fff
cmp.a
%r1,%r2
; Changes the flags according to the results of
; r2 - 0x3fff.
相關PDF資料
PDF描述
S2041 PHOTO TRANSISTOR DETECTOR
S3P44R10 TRIGGER OUTPUT SOLID STATE RELAY, 4000 V ISOLATION-MAX
S3S12P128J0VQK 16-BIT, MROM, 1.05 MHz, MICROCONTROLLER, PQFP80
MC9S12P128J0CFTR 16-BIT, FLASH, 1.05 MHz, MICROCONTROLLER, QCC48
MC3S12P128J0VFTR 16-BIT, MROM, 1.05 MHz, MICROCONTROLLER, QCC48
相關代理商/技術參數(shù)
參數(shù)描述
S1C88349 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88649 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88650 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88655 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88816 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer