{"id":236217,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"http:\/\/writemyessayfree.com\/assembly-language-lab-using-dosbox-program-2\/"},"modified":"2018-10-24T09:07:34","modified_gmt":"2018-10-24T09:07:34","slug":"assembly-language-lab-using-dosbox-program-2","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/assembly-language-lab-using-dosbox-program-2\/","title":{"rendered":"Assembly Language Lab using DosBox program"},"content":{"rendered":"<p>\nThe HW is on Lab for Assembly language using DosBox program and I need all the answers. Aslo, take a screen shot for every answer that you got it from the DosBox program. I uploaded the lab questions in attachment<br \/>\nDirections for Laboratory Exercise 2<\/p>\n<p>?\tYour report for this experiment must be submitted as both a Word file and printed document. <br \/>\n?\tIn the lab session, collect the information required to complete the lab exercise and record all answers to questions in the lab manual.<br \/>\n?\tThe final report must be in the format of the template provided below. You may simply edit your experimental information into the document below by cutting and pasting from the Word document in which you recorded your lab results in the lab. Also, draw the diagram for Part 1 Steps 1 and 2 electronically.   <br \/>\n?\tBe sure to include Titles and label and number all Parts and Steps.<br \/>\n?\tCompletely answer all questions and draw requested tables\/diagrams. <br \/>\n?\tBe sure that your report is complete, the information is clearly presented, and that it has been edited for errors, typos, etc.<br \/>\n?\tUse the ?Mark? and ?Copy? icon on the DEBUG toolbar to cut and paste the commands and results into a temporary Word document.<br \/>\n1.\tOpen a word document and minimize<br \/>\n2.\tDepress the ?Mark? icon (leftmost icon on the DEBUG toolbar)<br \/>\n3.\tHighlight the debug statements that you want to save<br \/>\n4.\tDepress the ?Copy? icon (2nd from left)<br \/>\n5.\tOpen the Word document; click in at the appropriate line, and depress the ?Paste? icon.<br \/>\n6.\tEdit out extra lines, empty lines, and errors <\/p>\n<p>Note:<\/p>\n<p>1.\tThis lab uses the following DEBUG commands from the textbook.<br \/>\na.\tSection 4.3 Pages 116-123: Register (R) commands <br \/>\nb.\tSection 4.4 Pages 123-133: Memory (D, E, F, etc.) commands <br \/>\nc.\tSection 4.7 Pages 136-142: Unassemble (U) command only<br \/>\nd.\tSection 4.8 Pages 142-144: Assemble (A) command<br \/>\ne.\tSection 4.9 Pages 145-147: Trace (T) command<br \/>\n2.\tYou may need to reference the command syntax, register notation, and flag notation in Figures 4.8, 4.10, and 4.11 in the textbook to assist in writing DEBUG commands.<br \/>\n3.\tBe sure to cut and paste frequently. If you don?t, earlier commands and results will scroll off the screen at the top and be lost. .  <\/p>\n<p>Changes to the Lab Experiment in the Book <\/p>\n<p>1. Mark the following changes into the lab exercise in the book<br \/>\n     Part 2<br \/>\n            Step 1a   Change the instruction to MOV AL,CL<br \/>\n            Step 1b   Change the instruction to MOV AH,ABH<br \/>\n            Step 1e   Change the instruction to MOV AH,[BX+SI]<br \/>\n            Step 1f    Change the instruction to MOV AL,[SI+4H]<br \/>\n     Part 3<br \/>\n            Step 2  Change the data used to initialize memory to the following values:<br \/>\n                        (DS:0001H) = 2211H<br \/>\n                        (DS:0004H) = 4433H<br \/>\n                        (DS:0011H) = 9988H <br \/>\n                        (DS:0014H) = CCBBH<br \/>\n                        (DS:0016H) = FFEEH<\/p>\n<p>\nAlternate Procedure<\/p>\n<p>1. Perform Parts 2 and 3 of the experiment first and then use these experimental results to create a spread sheet or table containing the information requested in Part 1 Steps 1 and 2.  For example, <\/p>\n<p>         Assembly Language Instruction     Machine Code \t\tNumber of Bytes<br \/>\n                  MOV  AX,BX                              ?????                                      ????<br \/>\n                  MOV  AX,AAAAH                     ?????                                      ????<br \/>\n                           ?????                                    ?????                                      ????<br \/>\n                           ?????                                    ?????                                      ????<br \/>\n2. Use the following alternate procedure for Parts 2 and 3 of Lab 2?Instructions will not be saved or loaded to\/from a floppy disk as stated. <br \/>\na. New Part 2: Just assemble the instructions into memory as stated and unassembled to verify correct loading (do not save to a diskette in drive a). Capture all results to a temporary Word document. <br \/>\nb. New Part 3: Instructions should already be in memory from Part 2 (do not load from diskette); just initialize registers and memory as stated and then execute the instructions individually. Capture all results to a temporary Word document.  <br \/>\nc. After performing these lab procedures, edit your experimental information into the Word document template below to form a detailed report for your lab exercise. <\/p>\n<p>\n(Template)<br \/>\nName: _________________<br \/>\nStudent ID: _____________<br \/>\nDate: __________________<\/p>\n<p>\nLab 2  (xxxTitlexxx)  <\/p>\n<p>Goal of the Laboratory Exercise:<\/p>\n<p>[ Type in a description of what you believe are the ?Goals? of this laboratory exercise<br \/>\n.<br \/>\n.<br \/>\n.<br \/>\n]<\/p>\n<p>Part 1 (xxxTitlexxx)<\/p>\n<p>1 and 2. <\/p>\n<p>[Insert\/make electronically created spread sheet\/table here]<\/p>\n<p>Interpretation of Results: Use the information in the table for Part 1 Steps 1 and 2 to answer the following questions. <br \/>\n1.  How many hexadecimal digits correspond to a byte of machine code? Ans. _________________<br \/>\n2. For the instructions in the table above, what is the maximum number of bytes used to encode an instruction in machine code? Ans. __________________<br \/>\n3. For the instructions in the table above, what is the minimum number of bytes used to encode an instruction in machine code? Ans. __________________<br \/>\n4. How many bytes are required to encode the immediate operand of the instruction in Step 1b?  Ans. ______________<br \/>\n5. How many bytes are required to encode the direct address of the instruction in Step 1d?  Ans. ______________<br \/>\n6.  Does the 80&#215;86 instruction set architecture employ fixed instruction length or variable instruction length? Ans. __________________<\/p>\n<p>\nConclusion for Part 1:<\/p>\n<p>[Write a paragraph or more to describe the purpose of this part of the experiment and make a list of what you have learned] <\/p>\n<p>Part 2  (xxxTitlexxx)<\/p>\n<p>1.\t  <br \/>\na.\t[Insert DEBUG sequence]<br \/>\nb.\t[Insert DEBUG sequence]<br \/>\nc.\t[Insert DEBUG sequence]<br \/>\nd.\t[etc.]<br \/>\n                .<br \/>\n.<br \/>\n.<\/p>\n<p>Interpretation of Results:<\/p>\n<p>Using the information displayed for Part 2 Step 1, answer each of the questions that follow:<br \/>\n1.\tWhat is the starting address at which the instruction for Step 1a in loaded into memory? Ans. _______  The ending address? Ans. _______<br \/>\n2.\tAt what addresses is the immediate operand of the instruction for Step 1b stored in memory? Ans. _____________<br \/>\n3.\tWhat addressing mode is employed by the destination operand of instruction for step 1f? Ans. ______________ The source operand? Ans. ________________<br \/>\n4.\tIf the results produced by an assemble\/unassemble command sequence are as follows:<br \/>\n-a cs:310<br \/>\n1369:0310 add [bx+di+1234],dx<br \/>\n1369:0314<br \/>\n-u cs:310 313<br \/>\n1369:0310 01913412      ADD     [BX+DI+1234],DX<br \/>\na.\tWhat is the assembly language instruction? Ans. ____________<br \/>\nb.\tWhat is the equivalent machine code for the instruction? Ans. _______________<br \/>\nc.\tWhat addressing mode does the source operand employ? Ans. ____________ The destination operand? Ans. ________________ <br \/>\nd.\tWhat is the starting address of the machine code instruction in memory? Ans. ______________ The ending address? ____________<br \/>\ne.\tHow many bytes are required to store the instruction in memory? Ans. ______________<br \/>\nf.\tAt what address is the most significant byte of the address displacement stored? Ans. _____________ The low byte of the displacement? Ans. ______________<br \/>\ng.\tWhat is the organization used to arrange the bytes of the displacement in memory called? Ans. ___________________<\/p>\n<p>\nConclusion for Part 2:<\/p>\n<p>[Write a paragraph or more to describe the purpose of this part of the experiment and make a list of what you have learned] <\/p>\n<p>\nPart 3 (xxxTitlexxx)<\/p>\n<p>1. [Insert DEBUG sequence]<\/p>\n<p>2.   <br \/>\n[Insert DEBUG sequence]<\/p>\n<p>3.<br \/>\na.\t[Insert DEBUG sequence]<br \/>\nb.\t[Insert DEBUG sequence]<br \/>\nc.\t[Insert DEBUG sequence]<br \/>\nd.\t[etc.]<br \/>\n                .<br \/>\n.<br \/>\n.<\/p>\n<p>Interpretation of Results:<\/p>\n<p>Using the information displayed for Part 3 Steps 1, 2, and 3, answer each of the questions that follow:<br \/>\n1.\tDescribe the operation performed for each instruction (include in your answer where the source information is located, what is the value moved, and where the destination in which this information is placed  is? <br \/>\nAns. <br \/>\na. __________________________________________________<br \/>\nb. __________________________________________________<br \/>\nc. __________________________________________________<br \/>\n.<br \/>\n.<br \/>\n.<br \/>\n.<br \/>\n.<br \/>\netc.<\/p>\n<p>Conclusion for Part 3:<\/p>\n<p>[Write a paragraph or more to describe the purpose of this part of the experiment and make a list of what you have learned] <\/p>\n<p>\nSupplement: Design an Experimental Process<\/p>\n<p>Design and conduct an experimental procedure to test the operation of the instruction:<br \/>\nadd [bx+di+10],dx<br \/>\nIn your procedure you should:<br \/>\na.\tAssemble and disassemble the instruction<br \/>\nb.\tArbitrarily select address offsets for the base and index registers (use small values so that the data is not offset to far in memory i.e. 0100, 0200, etc.)<br \/>\nc.\tArbitrarily specify data that will be used for the source and destination operands (use values that you can easily confirm that the correct add took place)<br \/>\nd.\tInitialize the appropriate registers and memory locations with address and data information <br \/>\ne.\tExecute the instruction to observe its operation<br \/>\nf.\tVerify operation of the instruction by viewing and confirming that correct results were obtained<\/p>\n<p>[Insert the complete DEBUG sequence used to implement your design process here]<\/p>\n<p>\nConclusion for Supplement:<\/p>\n<p>[Write a paragraph or more to describe the purpose of this part of the experiment and make a list of what you have learned] <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The HW is on Lab for Assembly language using DosBox program and I need all the answers. Aslo, take a screen shot for every answer that you got it from the DosBox program. I uploaded the lab questions in attachment <a href=\"https:\/\/www.benedictsol.com\/blogs\/assembly-language-lab-using-dosbox-program-2\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-236217","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/236217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=236217"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/236217\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=236217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=236217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=236217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}