SlideShare a Scribd company logo
1 of 1
Download to read offline
1 SECTIDN . data 2 source db "This is the source string", 0 a length equ $ $ source 4 target
times length db '#' Use the following code segment as a guide to display the hexadecimal
contents of an area of memory. Use this code segment to display the contents of the source string
and the target string twice once before the loop and once after the loop.
Imov2movamov4callesi,sourceecx,lengthebx,1DumpMem;Placeaddressofvariableinesi;Place#of
unitstodisplayinecx;Usebyteformat (The DumpMem procedure is explained in Section 5.4.) Add
an identification section as shown below to the top of your source file.
;Yourname;CS3304;Lab18 A sample execution sequence is shown in Figure 1. To use the
Makefile as distributed in class, add a target of lab18 to targetsAsmLanguage.
Figure 1. Commands to Assemble, Link, & Run Lab 18

More Related Content

Similar to 1 SECTIDN . data 2 source db This is the source string, 0 a length .pdf

Cis 170 c ilab 7 of 7 sequential files
Cis 170 c ilab 7 of 7 sequential filesCis 170 c ilab 7 of 7 sequential files
Cis 170 c ilab 7 of 7 sequential filesCIS321
 
Programming Design Guidelines
Programming Design GuidelinesProgramming Design Guidelines
Programming Design Guidelinesintuitiv.de
 
N_Asm Assembly system calls (sol)
N_Asm Assembly system calls (sol)N_Asm Assembly system calls (sol)
N_Asm Assembly system calls (sol)Selomon birhane
 
Task Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfTask Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfacsmadurai
 
C programming language tutorial
C programming language tutorial C programming language tutorial
C programming language tutorial javaTpoint s
 
C programming day#3.
C programming day#3.C programming day#3.
C programming day#3.Mohamed Fawzy
 
Dive into exploit development
Dive into exploit developmentDive into exploit development
Dive into exploit developmentPayampardaz
 
Node Boot Camp
Node Boot CampNode Boot Camp
Node Boot CampTroy Miles
 
0100_Embeded_C_CompilationProcess.pdf
0100_Embeded_C_CompilationProcess.pdf0100_Embeded_C_CompilationProcess.pdf
0100_Embeded_C_CompilationProcess.pdfKhaledIbrahim10923
 
Next-generation sequencing data format and visualization with ngs.plot 2015
Next-generation sequencing data format and visualization with ngs.plot 2015Next-generation sequencing data format and visualization with ngs.plot 2015
Next-generation sequencing data format and visualization with ngs.plot 2015Li Shen
 
VB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptVB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptBhuvanaR13
 
Information gathering using windows command line utility
Information gathering using windows command line utilityInformation gathering using windows command line utility
Information gathering using windows command line utilityVishal Kumar
 
C programming session 04
C programming session 04C programming session 04
C programming session 04Dushmanta Nath
 

Similar to 1 SECTIDN . data 2 source db This is the source string, 0 a length .pdf (20)

Cis 170 c ilab 7 of 7 sequential files
Cis 170 c ilab 7 of 7 sequential filesCis 170 c ilab 7 of 7 sequential files
Cis 170 c ilab 7 of 7 sequential files
 
Vectors Intro.ppt
Vectors Intro.pptVectors Intro.ppt
Vectors Intro.ppt
 
Chapter 6 notes
Chapter 6 notesChapter 6 notes
Chapter 6 notes
 
Programming Design Guidelines
Programming Design GuidelinesProgramming Design Guidelines
Programming Design Guidelines
 
Preprocessors
PreprocessorsPreprocessors
Preprocessors
 
N_Asm Assembly system calls (sol)
N_Asm Assembly system calls (sol)N_Asm Assembly system calls (sol)
N_Asm Assembly system calls (sol)
 
Structures
StructuresStructures
Structures
 
Task Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfTask Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdf
 
C programming language tutorial
C programming language tutorial C programming language tutorial
C programming language tutorial
 
7986-lect 7.pdf
7986-lect 7.pdf7986-lect 7.pdf
7986-lect 7.pdf
 
C programming day#3.
C programming day#3.C programming day#3.
C programming day#3.
 
Dive into exploit development
Dive into exploit developmentDive into exploit development
Dive into exploit development
 
Node Boot Camp
Node Boot CampNode Boot Camp
Node Boot Camp
 
Chapter 5 notes new
Chapter 5 notes newChapter 5 notes new
Chapter 5 notes new
 
The Stack Frame
The Stack FrameThe Stack Frame
The Stack Frame
 
0100_Embeded_C_CompilationProcess.pdf
0100_Embeded_C_CompilationProcess.pdf0100_Embeded_C_CompilationProcess.pdf
0100_Embeded_C_CompilationProcess.pdf
 
Next-generation sequencing data format and visualization with ngs.plot 2015
Next-generation sequencing data format and visualization with ngs.plot 2015Next-generation sequencing data format and visualization with ngs.plot 2015
Next-generation sequencing data format and visualization with ngs.plot 2015
 
VB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptVB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.ppt
 
Information gathering using windows command line utility
Information gathering using windows command line utilityInformation gathering using windows command line utility
Information gathering using windows command line utility
 
C programming session 04
C programming session 04C programming session 04
C programming session 04
 

More from winsports04

1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdf
 1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdf 1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdf
1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdfwinsports04
 
1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdf
 1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdf 1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdf
1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdfwinsports04
 
1) Which of the following statements is FALSE with regard to communic.pdf
 1) Which of the following statements is FALSE with regard to communic.pdf 1) Which of the following statements is FALSE with regard to communic.pdf
1) Which of the following statements is FALSE with regard to communic.pdfwinsports04
 
1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdf
 1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdf 1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdf
1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdfwinsports04
 
1) Consider the continuous-time LTI system with impulse response h(t).pdf
 1) Consider the continuous-time LTI system with impulse response h(t).pdf 1) Consider the continuous-time LTI system with impulse response h(t).pdf
1) Consider the continuous-time LTI system with impulse response h(t).pdfwinsports04
 
1) What are the functions of the nervous system What is special abou.pdf
 1) What are the functions of the nervous system What is special abou.pdf 1) What are the functions of the nervous system What is special abou.pdf
1) What are the functions of the nervous system What is special abou.pdfwinsports04
 

More from winsports04 (6)

1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdf
 1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdf 1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdf
1) Let X1,X2,�Xn are i.i.d random sample from U(0,) a) Show that the .pdf
 
1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdf
 1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdf 1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdf
1) Accordine to CTiA, 67�N of people believe wireless access is a mus.pdf
 
1) Which of the following statements is FALSE with regard to communic.pdf
 1) Which of the following statements is FALSE with regard to communic.pdf 1) Which of the following statements is FALSE with regard to communic.pdf
1) Which of the following statements is FALSE with regard to communic.pdf
 
1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdf
 1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdf 1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdf
1 pts Question 19 Wriat is calied ihe kegal or rightifut power of.pdf
 
1) Consider the continuous-time LTI system with impulse response h(t).pdf
 1) Consider the continuous-time LTI system with impulse response h(t).pdf 1) Consider the continuous-time LTI system with impulse response h(t).pdf
1) Consider the continuous-time LTI system with impulse response h(t).pdf
 
1) What are the functions of the nervous system What is special abou.pdf
 1) What are the functions of the nervous system What is special abou.pdf 1) What are the functions of the nervous system What is special abou.pdf
1) What are the functions of the nervous system What is special abou.pdf
 

Recently uploaded

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

1 SECTIDN . data 2 source db This is the source string, 0 a length .pdf

  • 1. 1 SECTIDN . data 2 source db "This is the source string", 0 a length equ $ $ source 4 target times length db '#' Use the following code segment as a guide to display the hexadecimal contents of an area of memory. Use this code segment to display the contents of the source string and the target string twice once before the loop and once after the loop. Imov2movamov4callesi,sourceecx,lengthebx,1DumpMem;Placeaddressofvariableinesi;Place#of unitstodisplayinecx;Usebyteformat (The DumpMem procedure is explained in Section 5.4.) Add an identification section as shown below to the top of your source file. ;Yourname;CS3304;Lab18 A sample execution sequence is shown in Figure 1. To use the Makefile as distributed in class, add a target of lab18 to targetsAsmLanguage. Figure 1. Commands to Assemble, Link, & Run Lab 18