Professional Documents
Culture Documents
DIGITAL SIGNAL
PROCESSING
Lecture 10
9Immediate Addressing
9Absolute Addressing
9Accumulator Addressing
9Direct Addressing
• Indirect Addressing
• Memory-Mapped Register Addressing
• Stack Addressing
( )
( ) ( )
• FRAME ???
• INTR ???
• TRAP ???
• Logical operations
• Special operations
• Absolute value
• Addition
• Subtraction
• Multiplication
• SUB A, -8, B
• SUB #2345h, 8, A, B
• ADDS *AR2-, B
• SUBB *AR1+, B
• SUBS *AR2-, B
• SUBC ???
– Used for division
MPYR Rounds the result of multiplication by adding 215 to the result &
then clearing bits 15-0.
29 January 2009 EEE C415 / Shikha Tripathi 27
Example
• MPY 13, A
• MPY #FFFEh, A
• MPYR 0, B ; DP=004h
Next Session
• Instruction set cont..
• Assembler directives
• Simple programs