subject

Write a program that defines symbolic constants for all seven days of the week. Create an array variable that uses the symbols as initializers. I have been using the answer below but it throws an error saying "Expected a declaration" on the first line ".386". .386
.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD

.data
Sun=0
Mon=1
Tue=2
Wed=3
Thu=4
Fri=5
Sat=6
warray BYTE Sun, Mon, Tue, Wed, Thu, Fri, Sat

.code
main PROC
INVOKE ExitProcess, 0
main ENDP
END main

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
You know the right answer?
Write a program that defines symbolic constants for all seven days of the week. Create an array vari...
Questions