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, 23.06.2019 01:00
Write the command that can be used to answer the following questions. (hint: try each out on the system to check your results.) a. find all files on the system that have the word test" as part of their filename. b. search the path variable for the pathname to the awk command. c. find all files in the /usr directory and subdirectories that are larger than 50 kilobytes in size. d. find all files in the /usr directory and subdirectories that are less than 70 kilobytes in size. e. find all files in the / directory and subdirectories that are symbolic links. f. find all files in the /var directory and subdirectories that were accessed less than 60 minutes ago. g. find all files in the /var directory and subdirectories that were accessed less than six days ago. h. find all files in the /home directory and subdirectories that are empty. i. find all files in the /etc directory and subdirectories that are owned by the group bin."
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
question
Computers and Technology, 24.06.2019 16:30
Which program can damage your computer?
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
question
Mathematics, 17.12.2020 19:50
question
Mathematics, 17.12.2020 19:50
question
Arts, 17.12.2020 19:50
question
Mathematics, 17.12.2020 19:50
Questions on the website: 13722367