EasyManuals Logo

Texas Instruments C28 Series Student Guide

Texas Instruments C28 Series
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #300 background imageLoading...
Page #300 background image
Solutions
B - 18 C28x - Appendix B - Addressing Modes
Solutions
Exercise B: Addressing
Exercise B: Addressing
-
-
Solution
Solution
1001B2 0320
1001B2 0320
Given
Given
:
:
DP = 4000
DP = 4000
DP = 4004
DP = 4004
DP = 4006
DP = 4006
Address/Data (hex)
Address/Data (hex)
100030
100030
0025
0025
100100
100100
0105
0105
100180
100180
0100
0100
Fill in the
Fill in the
100031
100031
0120
0120
100101
100101
0060
0060
100181
100181
0030
0030
table below
table below
100032
100032
100102
100102
0020
0020
100182
100182
0040
0040
Imm
Imm
MOVW
MOVW
DP,#4000h
DP,#4000h
MOVL
MOVL
XAR1,#100100h
XAR1,#100100h
MOVL
MOVL
XAR2,#100180h
XAR2,#100180h
MOV
MOV
AL,@31h
AL,@31h
ADD
ADD
AL,*XAR1++
AL,*XAR1++
SUB
SUB
AL,@30h
AL,@30h
ADD
ADD
AL,*XAR1++
AL,*XAR1++
MOVW
MOVW
DP,#4006h
DP,#4006h
ADD
ADD
AL,@1
AL,@1
SUB
SUB
AL,*XAR1
AL,*XAR1
ADD
ADD
AL,*XAR2
AL,*XAR2
SUB
SUB
AL,*+XAR2[1]
AL,*+XAR2[1]
ADD
ADD
AL,#32
AL,#32
SUB
SUB
AL,*+XAR2[2]
AL,*+XAR2[2]
MOV
MOV
@32h,AL
@32h,AL
Src
Src
Mode
Mode
Program
Program
4000
4000
Imm
Imm
100100
100100
Imm
Imm
100180
100180
Dir
Dir
120
120
Idr
Idr
225
225
100101
100101
Dir
Dir
200
200
Idr
Idr
260
260
100102
100102
Imm
Imm
4006
4006
Dir
Dir
290
290
Idr
Idr
270
270
Idr
Idr
370
370
Idr
Idr
340
340
Imm
Imm
360
360
Idr
Idr
320
320
Dir
Dir
100180
100180
100180
100180
ACC
ACC
DP
DP
XAR1
XAR1
XAR2
XAR2
Imm
Imm
: Immediate;
: Immediate;
Reg
Reg
: Register;
: Register;
Dir: Direct;
Dir: Direct;
Idr
Idr
: Indirect
: Indirect

Table of Contents

Other manuals for Texas Instruments C28 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C28 Series and is the answer not in the manual?

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals