Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Partl: Writing InstructionsFollow the instructions written as the comment and complete the following ( instructions ) program . ;Add your name here;Code to understand different

Partl: Writing InstructionsFollow the instructions written as the comment and complete the following (instructions)program.;Add your name here;Code to understand different number systems and Instruction Cycle.386.model flat,stdcallstack 4096ExitProcess proto,dwExitCode:dword code main proc;Instr1: Set EAX to Zero ;Instr2 :Set EBX=12 decimal Number ;Instr3: Set EDX =235B (Hexa Number);Instr4: Set EAX=00001010(Binary Number);Instr5: Copy the value of EBX Register into ECX Registerinvoke ExitProcess,0main endp end mainPart-2:Execute and Observe RegisterStepl: Create a New ProjectCreate a new project in Visual Studio. Copy the corrected assembly code that you have written in Part#1 Step 2: Add BreakpointsADD breakpoints in your code so that for each executed instruction, you check the values of Registers.Step 3: Click on "Start Debugging", Observe Register Values and complete the following table for the 5 instructions that you have written in PART1.Hint: After clicking in Start debugging, open register window and Disassembly WindowHere's the table you can use to record the register values:Highlighted Instruction Register Values(in Hexa)Size Of Instruction EIP(In Bytes)Address of highlightedInstructionInstriInstr2EAX=EBX=ECX=EDX=Note: Write Default Values that you are gettingEAX=EBX=Instr3Instr4EDX=Instr'SEAX=invoke ExitProcess,0 ECX

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

Students also viewed these Databases questions

Question

e. What are notable achievements of the group?

Answered: 1 week ago