Lab Session 2: Introduction To The DSP56800E Assembly
Lab Session 2: Introduction To The DSP56800E Assembly
FFF represents 3 bits that encode the destination register (See Table A-7, p.A-315 in
Ref Manual)
JJJJJ are 5 bits encoding the 2 sources registers (See Table A-8, p.A-317 in Ref
Manual)
Ira Fulton School of Engineering
Electrical Department
EEE404/591 – Real Time DSP
Assembler Directives
▪ Directives are not executed on the DSP chip
and therefore are not translated to opcode.
▪ Directives are instructions to assembler.
These are used for example to:
➢ Reserve memory for data variables, arrays and
structures (i.e: X DS 4 ).
➢ Determine the entry address of the program (i.e:
ORG P:).
➢ Initialize variable values (i.e: X DC 1,2 ).
▪ For more information refer to:
➢ CodeWarrior™ Development Studio Motorola
DSP56800x Embedded Systems Assembler
Manual.
Ira Fulton School of Engineering
Electrical Department
EEE404/591 – Real Time DSP
Create a New Project
▪ Follow the steps below for creating a
project:
▪ Start Code Warrior R8.2.
▪ Create a new project named “Intro_ASM”
(follow the steps described in lab 2 for
creating assembly project).
▪ Double click and open “main.asm”.
Do we need MOVE.BP ??
Check Example 8