Electronic Components Datasheet Search
  English  ▼

X  

S3C9442 Datasheet(PDF) 47 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) 47 Page - Samsung semiconductor

Back Button S3C9442 Datasheet HTML 42Page - Samsung semiconductor S3C9442 Datasheet HTML 43Page - Samsung semiconductor S3C9442 Datasheet HTML 44Page - Samsung semiconductor S3C9442 Datasheet HTML 45Page - Samsung semiconductor S3C9442 Datasheet HTML 46Page - Samsung semiconductor S3C9442 Datasheet HTML 47Page - Samsung semiconductor S3C9442 Datasheet HTML 48Page - Samsung semiconductor S3C9442 Datasheet HTML 49Page - Samsung semiconductor S3C9442 Datasheet HTML 50Page - Samsung semiconductor  
Zoom Inzoom in Zoom Outzoom out
 47 / 50 page
background image
S3C9442/C9444/F9444/C9452/C9454/F9454
SAM88RCRI INSTRUCTION SET
6-47
SUB — Subtract
SUB
dst,src
Operation:
dst
← dst – src
The source operand is subtracted from the destination operand and the result is stored in the
destination. The contents of the source are unaffected. Subtraction is performed by adding the
two's complement of the source operand to the destination operand.
Flags:
C:
Set if a "borrow" occurred; 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
22
r
r
6
23
r
lr
opc
src
dst
3
6
24
R
R
6
25
R
IR
opc
dst
src
3
6
26
R
IM
Examples:
Given: R1 = 12H, R2 = 03H, register 01H = 21H, register 02H = 03H, register 03H = 0AH:
SUB
R1,R2
R1 = 0FH, R2 = 03H
SUB
R1,@R2
R1 = 08H, R2 = 03H
SUB
01H,02H
Register 01H = 1EH, register 02H = 03H
SUB
01H,@02H
Register 01H = 17H, register 02H = 03H
SUB
01H,#90H
Register 01H = 91H; C, S, and V = "1"
SUB
01H,#65H
Register 01H = 0BCH; C and S = "1", V = "0"
In the first example, if working register R1 contains the value 12H and if register R2 contains the
value 03H, the statement "SUB R1,R2" subtracts the source value (03H) from the destination
value (12H) and stores the result (0FH) in destination register R1.


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