参数资料
型号: S3C9658XX-SH
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO16
封装: SOP-16
文件页数: 10/206页
文件大小: 869K
代理商: S3C9658XX-SH
第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页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页
S3C9654/C9658/P9658
SAM88RCRI INSTRUCTION SET
6-49
TM — Test Under Mask
TM
dst,src
Operation:
dst AND src
This instruction tests selected bits in the destination operand for a logic zero value. The bits to be
tested are specified by setting a "1" bit in the corresponding position of the source operand
(mask), which is ANDed with the destination operand. The zero (Z) flag can then be checked to
determine the result. The destination and source operands are unaffected.
Flags:
C: Unaffected.
Z: Set if the result is "0"; cleared otherwise.
S: Set if the result bit 7 is set; cleared otherwise.
V: Always reset to "0".
D: Unaffected.
H: Unaffected.
Format:
Bytes
Cycles
Opcode
(Hex)
Addr Mode
dst
src
opc
dst | src
2
4
72
r
6
73
r
lr
opc
src
dst
3
6
74
R
6
75
R
IR
opc
dst
src
3
6
76
R
IM
Examples:
Given: R0 = 0C7H, R1 = 02H, R2 = 18H, register 00H = 2BH, register 01H = 02H, and register
02H = 23H:
TM
R0,R1
R0 = 0C7H, R1 = 02H, Z = "0"
TM
R0,@R1
R0 = 0C7H, R1 = 02H, register 02H = 23H, Z = "0"
TM
00H,01H
Register 00H = 2BH, register 01H = 02H, Z = "0"
TM
00H,@01H
Register 00H = 2BH, register 01H = 02H,
register 02H = 23H, Z = "0"
TM
00H,#54H
Register 00H = 2BH, Z = "1"
In the first example, if working register R0 contains the value 0C7H (11000111B) and register R1
the value 02H (00000010B), the statement "TM R0,R1" tests bit one in the destination register for
a "0" value. Because the mask value does not match the test bit, the Z flag is cleared to logic zero
and can be tested to determine the result of the TM operation.
相关PDF资料
PDF描述
S3C9658XX-SI 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO18
S3C9654XX-DI 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP18
S3P9658-SI 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO18
S3C9654XX-DH 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP16
S5933Q/7C PCI BUS CONTROLLER, PQFP160
相关代理商/技术参数
参数描述
S3C9688 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:8-bit single-chip CMOS microcontrollers
S3CB 制造商:DIOTECH 制造商全称:DIOTECH 功能描述:SURFACE MOUNT GENERAL RECTIFIER
S3CB018 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:The S3CB018/FB018 single-chip CMOS microcontroller
S3CB205 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:S3CB205/FB205
S3CB519 制造商:SAMSUNG 制造商全称:Samsung semiconductor 功能描述:8-Bit CMOS Microcontroller