| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PM0056 bảng dữ liệu(PDF) 90 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0056 bảng dữ liệu(HTML) 90 Page - STMicroelectronics |
|
90 / 156 page ![]() The Cortex-M3 instruction set PM0056 90/156 DocID15491 Rev 5 where: • ‘cond’ is an optional condition code, see Conditional execution on page 57. • ‘Rd’ is the destination register. • ‘Rn’ is the source register. • ‘lsb’ is the position of the least significant bit of the bitfield. lsb must be in the range 0 to 31. • ‘width’ is the width of the bitfield and must be in the range 1 to 32-lsb. Operation SBFX extracts a bitfield from one register, sign extends it to 32 bits, and writes the result to the destination register. UBFX extracts a bitfield from one register, zero extends it to 32 bits, and writes the result to the destination register. Restrictions Do not use SP and do not use PC. Condition flags These instructions do not affect the flags. Examples SBFX R0, R1, #20, #4 ; Extract bit 20 to bit 23 (4 bits) from R1 and sign ; extend to 32 bits and then write the result to R0. UBFX R8, R11, #9, #10 ; Extract bit 9 to bit 18 (10 bits) from R11 and zero ; extend to 32 bits and then write the result to R8 3.8.3 SXT and UXT Sign extend and Zero extend. Syntax SXTextend{cond} {Rd,} Rm {, ROR #n} UXTextend{cond} {Rd}, Rm {, ROR #n} where: • ‘extend’ is one of: B: Extends an 8-bit value to a 32-bit value. H: Extends a 16-bit value to a 32-bit value. • ‘cond’ is an optional condition code, see Conditional execution on page 57. • ‘Rd’ is the destination register. • ‘Rm’ is the register holding the value to extend. • ROR #n is one of: ROR #8: Value from Rm is rotated right 8 bits. ROR #16: Value from Rm is rotated right 16 bits. ROR #24: Value from Rm is rotated right 24 bits. If ROR #n is omitted, no rotation is performed. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |