Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

CP3SP33SMS/NOPB Datasheet(PDF) 22 Page - Texas Instruments

Part # CP3SP33SMS/NOPB
Description  Connectivity Processor with Cache, DSP, and Bluetooth짰, USB, and Dual CAN Interfaces
PDF  407 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI1 [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI1 - Texas Instruments

CP3SP33SMS/NOPB Datasheet(HTML) 22 Page - Texas Instruments

Back Button CP3SP33SMS/NOPB Datasheet HTML 18Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 19Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 20Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 21Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 22Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 23Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 24Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 25Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 26Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 407 page
background image
CP3SP33
SNOSCW5 – MAY 2013
www.ti.com
Register/Pair
In register/pair mode, the operand is held in a general-purpose register, or in a general-
Mode
purpose register pair. For example, the following instruction adds the contents of the
low byte of register r1 to the contents of the low byte of r2, and places the result in the
low byte register r2. The high byte of register r2 is not modified.
ADDB R1, R2
Immediate
In immediate mode, the operand is a constant value which is encoded in the instruction.
Mode
For example, the following instruction multiplies the value of r4 by 4 and places the
result in r4.
MULW $4, R4
Relative Mode In relative mode, the operand is addressed using a relative value (displacement)
encoded in the instruction. This displacement is relative to the current Program Counter
(PC), a general-purpose register, or a register pair.
In branch instructions, the displacement is always relative to the current value of the PC
Register. For example, the following instruction causes an unconditional branch to an
address 10 ahead of the current PC.
BR *+10
In another example, the operand resides in memory. Its address is obtained by adding a
displacement encoded in the instruction to the contents of register r5. The address
calculation does not modify the contents of register r5.
LOADW 12(R5), R6
The following example calculates the address of a source operand by adding a
displacement of 4 to the contents of a register pair (r5, r4) and loads this operand into
the register pair (r7, r6). r7 receives the high word of the operand, and r6 receives the
low word.
LOADD 4(r5, r4), (r7, r6)
Index Mode
In index mode, the operand address is calculated with a base address held in either
R12 or R13. The CFG.SR bit must be clear to use this mode.
● For relative mode operands, the memory address is calculated by adding the
value of a register pair and a displacement to the base address. The displacement
can be a 14 or 20-bit unsigned value, which is encoded in the instruction.
● For absolute mode operands, the memory address is calculated by adding a 20-bit
absolute address encoded in the instruction to the base address.
In the following example, the operand address is the sum of the displacement 4, the
contents of the register pair (r5,r4), and the base address held in register r12. The word
at this address is loaded into register r6.
LOADW [r12]4(r5, r4), r6
Absolute
In absolute mode, the operand is located in memory, and its address is encoded in the
Mode
instruction (normally 20 or 24 bits).
For example, the following instruction loads the byte at address 4000 into the lower 8
bits of register r6.
LOADB 4000, r6
For additional information on the addressing modes, see the CompactRISC CR16C Programmer's
Reference Manual.
22
CPU Architecture
Copyright © 2013, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links :CP3SP33



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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