1. Write an ARM assembly language program to modify the ASCII characters stored in "my_chars", so that all lower case letters are changed into upper case and all digits are
1. Write an ARM assembly language program to modify the ASCII characters stored in "my_chars", so that all lower case letters are changed into upper case and all digits are
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
![1. Write an ARM assembly language program to modify the ASCII characters stored in
"my_chars", so that all lower case letters are changed into upper case and all digits are
increased by one. If a digit is 9, it should be changed to 0 instead. Assume that 0x00
marks the end of "my_chars”. In the example below, the characters are "CPT210isHard"
and the expected result should be "CPT321ISHARD”
my_chars DCD
Decimal
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Decimal - Binary - Octal - Hex - ASCII
Conversion Chart
Binary
Octal Hex ASCII
00100000 040 20 SP
00100001 041 21 !
00100010 042 22
00100011 043 23
00100100 044 24
00100101 045 25
00100110 046 26
00100111 047 27
00101000 050 28 (
00101001 051 29
#6908
%
&
1
00111101 075 3D
00111110 076 3E
00111111 077 3F
)
00101010 052 2A
00101011 053 2B +
00101100 054 2C
00101101 055 2D
00101110 056
2E
00101111 057
2F 1
00110000 060
1
30 0
00110001 061 31 1
00110010 062 32 2
33
3
00110011 063
00110100 064 34 4
00110101 065 35 5
00110110 066 36 6
00110111 067
37
7
00111000 070 38
8
00111001 071 39
9
:
00111010 072 3A
00111011 073 3B ;
00111100 074 3C
<
=
0x43505432, 0x31306973, 0x48617264, 0x21000000
?
Decimal Binary Octal Hex ASCII
64
4 65 66 印 68 0 0 1 72 73 74 75 75 7 78 79 80 1 82 83
67
69
70
71
76
77
84
85
01000000 100 40
86
87
88
89
90
91
92
93
94
95
01000001 101
01000100
104
01000101 105
01000110 106
01000111 107
110
01001000
01001001 111
01001010 112 4A
01001011 113 4B
01001100 114
01001101 115
01001110
01001111
01010000
81 01010001 121
01000010 102
116
117
01000011 103 43
120
01010010 122
01010011 123
01010100 124
01010101 125
01010110 126
01010111 127
4
01011000 130
01011001 131
01011010 132
41
01011011 133
01011100 134
01011101 135
01011110
01011111 137
2 3 4 45 5 口 48 49 C D E F 50 引 52 53 4 55 56758 59 弘阳 50 50 55 55
42
44
46
47
4C
4F
51
@ ooÔ
A
5B
B
с
D
I
J
K
L
4D M
4E N
0
5F
L U
E
G
H
P
Q
R
54 T
S
U
V
W
X
5A Z
Y
[
5C 1
5D ]
A
5E
136
Decimal
Binary Octal Hex ASCII
96
97 01100001 141
98
99
100
101
102
01100000 140
01100010 142
01100011 143
118
119
120
121
122
123
124
125
126
127
01100100 144
01100101 145
01100110 146
103 01100111 147
104 01101000 150
105 01101001 151
106 01101010 152
107
108
109
110
111
112
113
114
115
116
117
01101011 153
01101100 154
01101101 155
01101110 156
01101111 157
01110000 160
01110001 161
01110010 162
01110011 163
01110100 164
01110101 165
01110110 166
01110111 167
01111000 170
01111001 171
01111010 172
01111011 173
01111100 174
01111101 175
01111110 176
01111111 177
60 m 62 63 64 65 6印 8 的弘阳60 60 能所 70 71 72 73 74 75 75 7 78 79 ALLLLT
61 a
66
68
6A
6B
67 g
6D
6E
69 i
6F
76
77
7A
7B
6C I
7C
b
7D
с
7E
d
7F
e
f
h
j
k
m
n
0
p
q
r
S
t
u
V
W
X
y
Z
{
I
}
DEL](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F19cfb485-2e2b-47ac-a7b7-2780ec885944%2F5c4c9900-5bbc-4ccf-9eb5-9e19598ba567%2Fes5uwnp_processed.png&w=3840&q=75)
Transcribed Image Text:1. Write an ARM assembly language program to modify the ASCII characters stored in
"my_chars", so that all lower case letters are changed into upper case and all digits are
increased by one. If a digit is 9, it should be changed to 0 instead. Assume that 0x00
marks the end of "my_chars”. In the example below, the characters are "CPT210isHard"
and the expected result should be "CPT321ISHARD”
my_chars DCD
Decimal
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Decimal - Binary - Octal - Hex - ASCII
Conversion Chart
Binary
Octal Hex ASCII
00100000 040 20 SP
00100001 041 21 !
00100010 042 22
00100011 043 23
00100100 044 24
00100101 045 25
00100110 046 26
00100111 047 27
00101000 050 28 (
00101001 051 29
#6908
%
&
1
00111101 075 3D
00111110 076 3E
00111111 077 3F
)
00101010 052 2A
00101011 053 2B +
00101100 054 2C
00101101 055 2D
00101110 056
2E
00101111 057
2F 1
00110000 060
1
30 0
00110001 061 31 1
00110010 062 32 2
33
3
00110011 063
00110100 064 34 4
00110101 065 35 5
00110110 066 36 6
00110111 067
37
7
00111000 070 38
8
00111001 071 39
9
:
00111010 072 3A
00111011 073 3B ;
00111100 074 3C
<
=
0x43505432, 0x31306973, 0x48617264, 0x21000000
?
Decimal Binary Octal Hex ASCII
64
4 65 66 印 68 0 0 1 72 73 74 75 75 7 78 79 80 1 82 83
67
69
70
71
76
77
84
85
01000000 100 40
86
87
88
89
90
91
92
93
94
95
01000001 101
01000100
104
01000101 105
01000110 106
01000111 107
110
01001000
01001001 111
01001010 112 4A
01001011 113 4B
01001100 114
01001101 115
01001110
01001111
01010000
81 01010001 121
01000010 102
116
117
01000011 103 43
120
01010010 122
01010011 123
01010100 124
01010101 125
01010110 126
01010111 127
4
01011000 130
01011001 131
01011010 132
41
01011011 133
01011100 134
01011101 135
01011110
01011111 137
2 3 4 45 5 口 48 49 C D E F 50 引 52 53 4 55 56758 59 弘阳 50 50 55 55
42
44
46
47
4C
4F
51
@ ooÔ
A
5B
B
с
D
I
J
K
L
4D M
4E N
0
5F
L U
E
G
H
P
Q
R
54 T
S
U
V
W
X
5A Z
Y
[
5C 1
5D ]
A
5E
136
Decimal
Binary Octal Hex ASCII
96
97 01100001 141
98
99
100
101
102
01100000 140
01100010 142
01100011 143
118
119
120
121
122
123
124
125
126
127
01100100 144
01100101 145
01100110 146
103 01100111 147
104 01101000 150
105 01101001 151
106 01101010 152
107
108
109
110
111
112
113
114
115
116
117
01101011 153
01101100 154
01101101 155
01101110 156
01101111 157
01110000 160
01110001 161
01110010 162
01110011 163
01110100 164
01110101 165
01110110 166
01110111 167
01111000 170
01111001 171
01111010 172
01111011 173
01111100 174
01111101 175
01111110 176
01111111 177
60 m 62 63 64 65 6印 8 的弘阳60 60 能所 70 71 72 73 74 75 75 7 78 79 ALLLLT
61 a
66
68
6A
6B
67 g
6D
6E
69 i
6F
76
77
7A
7B
6C I
7C
b
7D
с
7E
d
7F
e
f
h
j
k
m
n
0
p
q
r
S
t
u
V
W
X
y
Z
{
I
}
DEL
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education