Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CAN SOME ONE HELP ME PLEASE WITH THIIS ASSEMBLY ASSIGNMENT Here's the program tempelate: .data msgforward WORD 6 DUP(?) msgbackward WORD 6 DUP(?) restore_esp DWORD

CAN SOME ONE HELP ME PLEASE WITH THIIS ASSEMBLY ASSIGNMENT

Here's the program tempelate:

.data

msgforward WORD 6 DUP(?) msgbackward WORD 6 DUP(?) restore_esp DWORD ?

.code main proc mov restore_esp, esp ; save the contents of register ESP so it can be restored before the program finishes ; DO NOT REMOVE THIS

; clear the registers

mov eax, 0 mov ebx, 0 mov ecx, 0 mov edx, 0 mov esi, 0 mov edi, 0 mov esp, 0 mov ebp , 0

; store the message "Welcome Home" in reverse order across the six 16-bit registers

mov ax, "EM" mov bx, "OH" mov si, " E" mov di, "MO" mov sp, "CL" mov bp, "EW"

;Only the mov instruction can used

The registers should look like this

image text in transcribed

Threads Modules EAX 00004D45 EBX = 0000484F Except ES! 00004520 emo Call Stac ESP 00004C43 EBP 00005745 EDI = 00004F4D NOTE: Registers cx and dx are unused and are available to help with the swapping Threads Modules EAX 00004D45 EBX = 0000484F Except ES! 00004520 emo Call Stac ESP 00004C43 EBP 00005745 EDI = 00004F4D NOTE: Registers cx and dx are unused and are available to help with the swapping

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_2

Step: 3

blur-text-image_3

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

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

How old is the data?

Answered: 1 week ago

Question

What is job enlargement ?

Answered: 1 week ago

Question

what is the most common cause of preterm birth in twin pregnancies?

Answered: 1 week ago

Question

Which diagnostic test is most commonly used to confirm PROM?

Answered: 1 week ago

Question

What is the hallmark clinical feature of a molar pregnancy?

Answered: 1 week ago