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
can you upload the pictures where to read the values in VS and along with please explain how it is converted

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

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

=+6. Whether they'd talk to others about the ad.

Answered: 1 week ago