поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

SC312XDP512F0MPVR датащи(PDF) 213 Page - Freescale Semiconductor, Inc

номер детали SC312XDP512F0MPVR
подробное описание детали  Covers, S12XD, S12XB & S12XA Families
PDF  1350 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  FREESCALE [Freescale Semiconductor, Inc]
домашняя страница  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

SC312XDP512F0MPVR датащи(HTML) 213 Page - Freescale Semiconductor, Inc

Back Button SC312XDP512F0MPVR Datasheet HTML 209Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 210Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 211Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 212Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 213Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 214Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 215Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 216Page - Freescale Semiconductor, Inc SC312XDP512F0MPVR Datasheet HTML 217Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 213 / 1350 page
background image
Chapter 6 XGATE (S12XGATEV2)
MC9S12XDP512 Data Sheet, Rev. 2.17
Freescale Semiconductor
213
6.8.2.2
Logic and Arithmetic Instructions
All logic and arithmetic instructions support the 8 bit immediate addressing mode (IMM8: RD = RD
#IMM8) and the triadic addressing mode (TRI: RD = RS1
∗ RS2).
All arithmetic is considered as signed, sign, overflow, zero and carry flag will be updated. The carry will
not be affected for logical operations.
ADDL
R2,#1
; increment R2
ANDH
R4,#$FE
; R4.H = R4.H & $FE, clear lower bit of higher byte
ADD
R3,R4,R5
; R3 = R4 + R5
SUB
R3,R4,R5
; R3 = R4 - R5
AND
R3,R4,R5
; R3 = R4 & R5 logical AND on the whole word
OR
R3,R4,R5
; R3 = R4 | R5
6.8.2.3
Register – Register Transfers
This group comprises transfers from and to some special registers
TFR
R3,CCR
; transfers the condition code register to the low byte of
; register R3
Branch Instructions
The branch offset is +255 words or -256 words counted from the beginning of the next instruction. Since
instructions have a fixed 16 bit width, the branch offsets are word aligned by shifting the offset value by 2.
BEQ
label
; if Z flag = 1 branch to label
An unconditional branch allows a +511 words or -512 words branch distance.
BRA
label
6.8.2.4
Shift Instructions
Shift operations allow the use of a 4 bit wide immediate value to identify a shift width within a 16 bit word.
For shift operations a value of 0 does not shift at all, while a value of 15 shifts the register RD by 15 bits.
In a second form the shift value is contained in the bits 3:0 of the register RS.
Examples:
LSL
R4,#1
; R4 = R4 << 1; shift register R4 by 1 bit to the left
LSR
R4,#3
; R4 = R4 >> 3; shift register R4 by 3 bits to the right
ASR
R4,R2
; R4 = R4 >> R2;arithmetic shift register R4 right by the amount
;
of bits contained in R2[3:0].



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 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  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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