Question: Can someone please help me with this assembly program Help with Assembly For this programming assignment you will be writing an assembly program that will

Can someone please help me with this assembly program

Help with Assembly

For this programming assignment you will be writing an assembly program that will use nested looping to write all of the seconds in a week one-by-one to a location in memory. To start with, look at the following code from the date_time.cpp C++ program:

Can someone please help me with this assembly program Help with Assembly

For this programming assignment you will be writing an assembly program that

will use nested looping to write all of the seconds in a

week one-by-one to a location in memory. To start with, look at

the following code from the date_time.cpp C++ program: ; Program template .386

.model flat,stdcall .stack 4096 ExitProcess proto,dwExitCode:dword DAYS = 7 ; constant representing

; Program template

.386

.model flat,stdcall

.stack 4096

ExitProcess proto,dwExitCode:dword

DAYS = 7 ; constant representing the number of days in a week

HOURS = 24 ; constant representing the number of hours in a day

MINUTES = 60 ; constant representing the number of minutes in an hour

SECONDS = 60 ; constant representing the number of seconds in a minute

.data

date_time DWORD ? ; byte 0000 stores the DAY, byte 0001 stores the HOUR, byte 0002 stores the MINUTE, and byte 0003 stores the SECOND

num_of_iters DWORD 0 ; counts the total number of iterations

day BYTE DAYS ; used to restore cl to the current day value

hour BYTE HOURS ; used to restore cl to the current hour value

minute BYTE MINUTES ; used to restore cl to the current minute value

.code

main proc

; IMPLEMENT THIS

; IMPLEMENT THIS

; IMPLEMENT THIS

; IMPLEMENT THIS

; IMPLEMENT THIS

invoke ExitProcess,0

main endp

end main

Thanks in advance

#include using namespace std;l int main() int count 0; for(int day 0 day using namespace std;l int main() int count 0; for(int day 0 day

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!