| Electronic Components Datasheet Search |
|
LM3S9781 Datasheet(PDF) 68 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LM3S9781 Datasheet(HTML) 68 Page - Texas Instruments |
|
68 / 1155 page ![]() Thread mode is privileged out of reset, but you can change it to user or unprivileged by setting the CONTROL[0] bit using the MSR instruction. User access prevents: – Use of some instructions such as CPS to set FAULTMASK and PRIMASK – Access to most registers in System Control Space (SCS) When Thread mode has been changed from privileged to user, it cannot change itself back to privileged. Only a Handler can change the privilege of Thread mode. Handler mode is always privileged. ■ Register set - The processor has the following 32-bit registers: – 13 general-purpose registers, r0-r12 – Stack point alias of banked registers, SP_process and SP_main – Link register, r14 – Program counter, r15 – One program status register, xPSR. ■ Data types - The processor supports the following data types: – 32-bit words – 16-bit halfwords – 8-bit bytes ■ Memory formats - The processor views memory as a linear collection of bytes numbered in ascending order from 0. For example, bytes 0-3 hold the first stored word and bytes 4-7 hold the second stored word. The processor accesses code and data in little-endian format, which means that the byte with the lowest address in a word is the least-significant byte of the word. The byte with the highest address in a word is the most significant. The byte at address 0 of the memory system connects to data lines 7-0. ■ Instruction set - The Cortex-M3 instruction set contains both 16 and 32-bit instructions. These instructions are summarized in Table 2-1 on page 68 and Table 2-2 on page 70, respectively. Table 2-1. 16-Bit Cortex-M3 Instruction Set Summary Assembler Operation ADC <Rd>, <Rm> Add register value and C flag to register value ADD <Rd>, <Rn>, #<immed_3> Add immediate 3-bit value to register ADD <Rd>, #<immed_8> Add immediate 8-bit value to register ADD <Rd>, <Rn>, <Rm> Add low register value to low register value ADD <Rd>, <Rm> Add high register value to low or high register value ADD <Rd>, PC, #<immed_8> * 4 Add 4* (immediate 8-bit value) with PC to register ADD <Rd>, SP, #<immed_8> * 4 Add 4* (immediate 8-bit value) with SP to register ADD SP, #<immed_7> * 4 Add 4* (immediate 7-bit value) to SP AND <Rd>, <Rm> Bitwise AND register values ASR <Rd>, <Rm>, #<immed_5> Arithmetic shift right by immediate number June 29, 2010 68 Texas Instruments-Advance Information ARM Cortex-M3 Processor Core |
|
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 |
| 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 |