This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: shown in Problem 4. 6. List all the initial data values that are resident in data memory for the following data segment: .data val1 BYTE 5 DUP (5 * 10) val2 BYTE 3 DUP (?) val3 BYTE 2 DUP (‘ABC’) val4 WORD 3 DUP (0) 7. Declare a 32-bit signed integer data variable and initialize it with the largest possible positive value. 8. Use a TEXTEQU expression to redefine “PROC” as “PROCEDURE”. 9. Write a single instruction that moves data value obtained from evaluating an expression into the AX register. The expression operand shall conform to the following guidelines: a. Multiples 5 * 20 b. Divides result obtained in a. by 20 c. Adds 20 to result obtained in step b. d. Subtracts 3 from result obtained in step c. 10. Using the AddSub.asm routine listed in Section 3.2 of the text as reference, write a similar routine for 16-bit integers instead of 32-bit....
View Full Document
- ax, character string, ax popf ret, pushf pop ax