Question: 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

CAN SOME ONE HELP ME PLEASE WITH THIIS ASSEMBLY ASSIGNMENT Here's the

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!