<< Chapter < Page Chapter >> Page >
The TI TMS320C55x microprocessor provides a number of ways to specify the location of data to be used in calculations. Immediate addressing, direct addressing, and indirect addressing are the three main types. Knowing the basic addressing modes of a microprocessor is important because they map directly into assembly language syntax and because the need to use a particular addressing mode often dictates which instruction one picks for a given task.

Microprocessors provide a number of ways to specify the location of data to be used in calculations. For example, one of thedata values to be used in an add instruction may be encoded as part of that instruction's opcode , the raw machine language produced by the assembler as it parses yourassembly language program. This is known as immediate addressing . Alternatively, perhaps the opcode will instead contain a memory address which holds the data( direct addressing ). More commonly, the instruction will specify that an auxiliary register holds the memory addresswhich in turn holds the data ( indirect addressing ). The processor knows which addressing mode is being used byexamining special bit fields in the instruction opcode.

Knowing the basic addressing modes of your microprocessor is important because they map directly into assembly languagesyntax. Many annoying and sometimes hard-to-find bugs are caused by inadvertently using the wrong addressing mode in aninstruction. Also, in any assembly language, the need to use a particular addressing mode often dictates which instruction onepicks for a given task.

Chapter six, Addressing modes , in the CPU Reference Guide contains extended descriptions of the addressing modes described below.

Accumulators: acw, acx, acy, acz, xsrc, xdst, src, dst

Whenever the abbreviations ACw , ACx , ACy , ACz , xsrc or xdst are used in the assembly language syntax description for an instruction, it means that only theaccumulators AC0 , AC1 , AC2 and AC3 may be used for that particular operand. At times, src and dst may also be referring to the accumulators.

Examples:

MOV *AR3, *AR4, AC0 ; AC0(15-0) = contents of memory location pointed to by AR3 ; AC0(39-16) = contents of memory location pointed to by AR4 ; sign extended to 24 bits MOV AC0, AC1 ; AC1 = AC0 MOV AC0, *AR3 ; sets content of memory location pointed to by AR3 = AC0(15-0) MOV HI(AC0), *AR7+ ; sets (contents of memory location to by AR7) = ACO(31-16), ; and then increments AR7 by one

Memory-mapped registers: mmr, mmrx, mmry

Many of the TMS320C55x registers are memory-mapped, meaning that they occupy real addresses at the low end of data memoryspace. The most commonly used of these are the accumulators AC0 through AC3 , auxiliary registers AR0 through AR7 . The temporary registers T0 - T3, BK, and various BSA (buffer start address) are also memory mapped. Memory mapped registers are stored from 00 0000h to 00 005Fh.

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing laboratory (ece 420 55x). OpenStax CNX. Jan 18, 2010 Download for free at http://cnx.org/content/col10397/1.10
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing laboratory (ece 420 55x)' conversation and receive update notifications?

Ask