Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question
What is SUB ADR LDM STRD BL.W? What does sp,sp,#0x28 mean? What does r3, r0, r1, r2 mean? What does my-strcpy and my_capitalise mean?
Figure Q7 below shows a simple program written in C and complied in ARM
Keil.
Ox080006D4 B08A
33:
34:
35:
OX080006D6 A307
OX080006D8 CBOF
0×080006DA E9CD2308
0×080006DE E9CD0106
36:
0×080006E2 A901
O×080006E4 A806
0×080006E6 F7FFFDA9
37:
38:
OX080006EA A801
0×080006EC F7FFFDAD
SUB
const char a[]
char b(20]:
sp,sp,#0x28
"Hello world!";
ADR
r3,(pc)+0x20
2 @0×080006F4
r3,(r0-r3)
STRD r2,r3,(sp,#0x20]
STRD r0,rl,/sp,#0x18)
LDM
my_strcpy (a, b),
ADD
ADD
rl,sp,#0x04
r0,sp,#0x18
BL.W my_strepy (0x0800023C)
my_capitalize (b);
ADD
r0,sp,#0x04
BL.W my_capitalize (0×0800024A)
Figure 07
expand button
Transcribed Image Text:Figure Q7 below shows a simple program written in C and complied in ARM Keil. Ox080006D4 B08A 33: 34: 35: OX080006D6 A307 OX080006D8 CBOF 0×080006DA E9CD2308 0×080006DE E9CD0106 36: 0×080006E2 A901 O×080006E4 A806 0×080006E6 F7FFFDA9 37: 38: OX080006EA A801 0×080006EC F7FFFDAD SUB const char a[] char b(20]: sp,sp,#0x28 "Hello world!"; ADR r3,(pc)+0x20 2 @0×080006F4 r3,(r0-r3) STRD r2,r3,(sp,#0x20] STRD r0,rl,/sp,#0x18) LDM my_strcpy (a, b), ADD ADD rl,sp,#0x04 r0,sp,#0x18 BL.W my_strepy (0x0800023C) my_capitalize (b); ADD r0,sp,#0x04 BL.W my_capitalize (0×0800024A) Figure 07
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY