201k views
0 votes
Write a program that defines symbolic constants for all seven days of the week. Create an array variable that uses the symbols as initializers.

User Cchalmers
by
3.1k points

1 Answer

3 votes

Answer:

Step-by-step explanation:

.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

User Georgii Lvov
by
3.2k points