Electronic Components Datasheet Search
  English  ▼

X  

S3C9442 Datasheet(PDF) 18 Page - Samsung semiconductor

Part # S3C9442
Description  SAM88RCRI INSTRUCTION SET
Download  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SAMSUNG [Samsung semiconductor]
Direct Link  http://www.samsung.com/Products/Semiconductor
Logo SAMSUNG - Samsung semiconductor

S3C9442 Datasheet(HTML) 18 Page - Samsung semiconductor

Back Button S3C9442 Datasheet HTML 14Page - Samsung semiconductor S3C9442 Datasheet HTML 15Page - Samsung semiconductor S3C9442 Datasheet HTML 16Page - Samsung semiconductor S3C9442 Datasheet HTML 17Page - Samsung semiconductor S3C9442 Datasheet HTML 18Page - Samsung semiconductor S3C9442 Datasheet HTML 19Page - Samsung semiconductor S3C9442 Datasheet HTML 20Page - Samsung semiconductor S3C9442 Datasheet HTML 21Page - Samsung semiconductor S3C9442 Datasheet HTML 22Page - Samsung semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 50 page
background image
SAM88RCRI INSTRUCTION SET
S3C9442/C9444/F9444/C9452/C9454/F9454
6-18
CP — Compare
CP
dst,src
Operation:
dst – src
The source operand is compared to (subtracted from) the destination operand, and the
appropriate flags are set accordingly. The contents of both operands are unaffected by the
comparison.
Flags:
C:
Set if a "borrow" occurred (src > dst); cleared otherwise.
Z:
Set if the result is "0"; cleared otherwise.
S:
Set if the result is negative; cleared otherwise.
V:
Set if arithmetic overflow occurred, that is, if the operands were of opposite signs and the sign of
the result is of the same as the sign of the source operand; cleared otherwise.
Format:
Bytes
Cycles
Opcode
(Hex)
Addr Mode
dst
src
opc
dst | src
2
4
A2
r
r
6
A3
r
lr
opc
src
dst
3
6
A4
R
R
6
A5
R
IR
opc
dst
src
3
6
A6
R
IM
Examples:
1.
Given: R1 = 02H and R2 = 03H:
CP
R1,R2
→ Set the C and S flags
Destination working register R1 contains the value 02H and source register R2 contains the
value 03H. The statement "CP R1,R2" subtracts the R2 value (source/subtrahend) from the
R1 value (destination/minuend). Because a "borrow" occurs and the difference is negative,
C and S are "1".
2.
Given: R1 = 05H and R2 = 0AH:
CP
R1,R2
JP
UGE,SKIP
INC
R1
SKIP
LD
R3,R1
In this example, destination working register R1 contains the value 05H which is less than the
contents of the source working register R2 (0AH). The statement "CP R1,R2" generates C =
"1" and the JP instruction does not jump to the SKIP location. After the statement "LD R3,R1"
executes, the value 06H remains in working register R3.


Similar Part No. - S3C9442

ManufacturerPart #DatasheetDescription
logo
Samsung semiconductor
S3C9442 SAMSUNG-S3C9442 Datasheet
177Kb / 26P
SAM88RCRI family of 8-bit single-chip CMOS microcontrollers
More results

Similar Description - S3C9442

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
STLUX385 STMICROELECTRONICS-STLUX385 Datasheet
171Kb / 10P
Extended instruction set
February 2013 Rev 2
STM8S007C8 STMICROELECTRONICS-STM8S007C8 Datasheet
1Mb / 92P
Extended instruction set
March 2015 Rev 5
STM8S005C6 STMICROELECTRONICS-STM8S005C6 Datasheet
1Mb / 97P
Extended instruction set
March 2015 Rev 4
logo
Samsung semiconductor
S3C72G9 SAMSUNG-S3C72G9 Datasheet
1,011Kb / 96P
SAM47 INSTRUCTION SET
logo
STMicroelectronics
STM8S003F3 STMICROELECTRONICS-STM8S003F3 Datasheet
1Mb / 104P
Extended instruction set
May 2017 Rev 9
STM8S105C4 STMICROELECTRONICS-STM8S105C4 Datasheet
1Mb / 121P
Extended instruction set
September 2015 Rev 15
logo
Freescale Semiconductor...
S9S08DZ32F1CLH FREESCALE-S9S08DZ32F1CLH Datasheet
2Mb / 416P
HC08 instruction set with added BGND instruction
logo
STMicroelectronics
ST20-C1 STMICROELECTRONICS-ST20-C1 Datasheet
856Kb / 205P
Instruction Set Reference Manual
logo
Freescale Semiconductor...
MC9S08GW64 FREESCALE-MC9S08GW64_11 Datasheet
1,011Kb / 42P
HC08 instruction set with added BGND instruction
logo
STMicroelectronics
ST20C2 STMICROELECTRONICS-ST20C2 Datasheet
647Kb / 212P
Instruction Set Reference Manual
More results


Html Pages

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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com