Q2: follow the following program and show how it will affect the flags 1. Program one ? a) MOV DX, 896AH MOV CX, 9CABH ADD DH, CL ADC CX, DX DX=?, CX=?, CF=?, PF=?, AF=?, SF=?, ZF=? b) 2. The second program MOV AX, 29FEH MOV CX, 8C03H SHL AH, CL SBB AX, CX AX=?, CX=?, CF=?, PF=?, AF=?, SF=?, ZF=? Page 1 of 2 3. What the following program do and show the result for each step, and find the effective address of one of the instructions MOV AX, 05H MOV CX, AX Back: DEC CX MUL CX TEST CX JNZ Back ; results stored in AX ; to store the result at D000H MOV [D000], AX HLT
Q2: follow the following program and show how it will affect the flags 1. Program one ? a) MOV DX, 896AH MOV CX, 9CABH ADD DH, CL ADC CX, DX DX=?, CX=?, CF=?, PF=?, AF=?, SF=?, ZF=? b) 2. The second program MOV AX, 29FEH MOV CX, 8C03H SHL AH, CL SBB AX, CX AX=?, CX=?, CF=?, PF=?, AF=?, SF=?, ZF=? Page 1 of 2 3. What the following program do and show the result for each step, and find the effective address of one of the instructions MOV AX, 05H MOV CX, AX Back: DEC CX MUL CX TEST CX JNZ Back ; results stored in AX ; to store the result at D000H MOV [D000], AX HLT
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.3: Interactive While Loops
Problem 6E: (Conversion) a. Write a C++ program to convert meters to feet. The program should request the...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr