Load Byte - Sign-Extended - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Instruction Overview
Load Byte – Sign-Extended
General Form
D-register = B [ indirect_address ] (X)
Syntax
Dreg = B [ Preg ] (X) ;
Dreg = B [ Preg ++ ] (X) ;
Dreg = B [ Preg -- ] (X) ;
Dreg = B [ Preg + uimm15 ] (X) ;
Dreg = B [ Preg - uimm15 ] (X) ;
Syntax Terminology
:
Dreg
R7–0
:
,
,
Preg
P5–0
SP
: 15-bit unsigned field, with a range of 0 through 32,767 bytes
uimm15
(0x0000 through 0x7FFF)
Instruction Length
In the syntax, comment (a) identifies 16-bit instruction length. Comment
(b) identifies 32-bit instruction length.
Functional Description
The Load Byte – Sign-Extended instruction loads an 8-bit byte,
sign-extended to 32 bits, from a memory location indicated by a P-register
into a 32-bit data register. The Pointer register is a P-register. Fill the
D-register bits 31–8 with the most significant bit of the loaded byte.
The indirect address and offset have no restrictions for memory address
alignment.
8-34
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* indirect (a)*/
/* indirect, post-increment (a)*/
/* indirect, post-decrement (a)*/
FP
/* indexed with offset (b)*/
/* indexed with offset (b)*/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents