Final answer:
To solve the first problem, use MASM assembler to calculate the expression using registers. For the second problem, define symbolic constants for the days of the week and create an array variable in MASM assembler. The correct option is 1) INTEGER EXPRESSION CALCULATION write a program that calculates the following expression, using registers: A=(A+B)−(C+D) Assign integer values to the EAX, EBX, ECX, and EDX registers.
Step-by-step explanation:
To calculate the expression using MASM, one would need to write an assembly program that uses registers to perform arithmetic operations and handle a breakpoint to check values. For symbolic constants, one would define a set of integer constants representing days of the week, then use these constants to initialize an array. For the first problem, you can use MASM assembler to write a program that calculates the expression A = (A + B) - (C + D) using registers. You can assign integer values to the EAX, EBX, ECX, and EDX registers and perform the necessary calculations to obtain the result.
For the second problem, you can define symbolic constants for the days of the week and create an array variable that uses these symbols as initializers. This can be done in MASM assembler as well. Therefore the correct option is 1) INTEGER EXPRESSION CALCULATION write a program that calculates the following expression, using registers: A=(A+B)−(C+D) Assign integer values to the EAX, EBX, ECX, and EDX registers.