| 전자부품 데이터시트 검색엔진 |
|
P9S12XEP100J1VVLR 데이터시트(PDF) 381 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
P9S12XEP100J1VVLR 데이터시트(HTML) 381 Page - Freescale Semiconductor, Inc |
|
381 / 1324 page ![]() Chapter 10 XGATE (S12XGATEV3) MC9S12XE-Family Reference Manual Rev. 1.21 Freescale Semiconductor 381 Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010 10.8.1.3 Immediate 3-Bit Wide (IMM3) Operands for immediate mode instructions are included in the instruction stream and are fetched into the instruction queue along with the rest of the 16 bit instruction. The ’#’ symbol is used to indicate an immediate addressing mode operand. This address mode is used for semaphore instructions. Examples: CSEM #1 ; Unlock semaphore 1 SSEM #3 ; Lock Semaphore 3 10.8.1.4 Immediate 4 Bit Wide (IMM4) The 4 bit wide immediate addressing mode is supported by all shift instructions. RD = RD ∗ IMM4 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 10.8.1.5 Immediate 8 Bit Wide (IMM8) The 8 bit wide immediate addressing mode is supported by four major commands (ADD, SUB, LD, CMP). RD = RD ∗ imm8 Examples: ADDL R1,#1 ; adds an 8 bit value to register R1 SUBL R2,#2 ; subtracts an 8 bit value from register R2 LDH R3,#3 ; loads an 8 bit immediate into the high byte of Register R3 CMPL R4,#4 ; compares the low byte of register R4 with an immediate value 10.8.1.6 Immediate 16 Bit Wide (IMM16) The 16 bit wide immediate addressing mode is a construct to simplify assembler code. Instructions which offer this mode are translated into two opcodes using the eight bit wide immediate addressing mode. RD = RD ∗ IMM16 Examples: LDW R4,#$1234 ; translated to LDL R4,#$34; LDH R4,#$12 ADD R4,#$5678 ; translated to ADDL R4,#$78; ADDH R4,#$56 10.8.1.7 Monadic Addressing (MON) In this addressing mode only one operand is explicitly given. This operand can either be the source (f(RD)), the target (RD = f()), or both source and target of the operation (RD = f(RD)). Examples: JAL R1 ; PC = R1, R1 = PC+2 SIF R2 ; Trigger IRQ associated with the channel number in R2.L |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |