Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1 Find the status of the CF, PF, AF, ZF and SF after the execution of the following instructions? MOV AX, 1207 XOR AL,

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
QUESTION 1 Find the status of the CF, PF, AF, ZF and SF after the execution of the following instructions? MOV AX, 1207 XOR AL, AH (1) AX-2H MOV BL, 12H ; (2) AX-PH SUB AH, AL; (3) MUL BL CF=1, PF=0, AF=1, ZF=1, SF=1 CF=1, PF=1, AF=0, ZF=0, SF=0 CF=0, PF=0, AF=1, ZF=1, SF=1 CF=0, PF=1, AF=0, ZF=0, SF=1 What is the value of AX after the execution of the instruction (1) MOV AX, 1207H XOR AL, AH ; (1) AX-?H MOV BL, 12H MUL BL ; (2) AX=?H SUB AH, AL i (3) XOR: O XOR 0 =0 1 XOR 1 =0 1 XOR 0 = 1 O XOR 1 =1 1215H 1207H O A5D7H o 1F2FH What is the value of AX after the execution of the instruction (2) MOV AX, 1207H XOR AL, AH ; (1) AX=?H MOV BL, 12H MUL BL ; (2) AX=?H SUB AH, AL ; (3) O 117AH O 0A5BH O 017AH O FASFH What is the value of AX after the execution of the instruction (3) MOV AX, 1207H XOR AL, AH ; (1) AX=?H MOV BL, 12H MUL BL ; (2) AX-?H SUB AH, AL ; (3) O 017AH 0 877AH O 87A7H o 2178H QUESTION 5 Find the status of the CF, PF, AF, ZF and SF after the execution of the following instructions? MOV AX, 389CH MOV BX, 1ABCH SHL BL,1 ; CF- BX- ADC AH, BL . CF=1, PF=0, AF=1, ZF=1, SF=1 CF=0, PF=0, AF=1, ZF=0, SF=0 CF=0, PF=0, AF=1, ZF=1, SF=1 o CF=0, PF=1, AF=0, ZF=0, SF=1 What will be the value of AX after the execution of the program? MOV AX, 389CH MOV BX, 1ASCH SHL BL,1 ; CF-, BX= ADC AH, BL O 71FCH O 519CH O 6C9CH O 5181H What will be the value of BX after the execution of the program? MOV AX, 389CH MOV BX, 1A8CH SHL BL, 1 ; CF=BX- ADC AH, BL O 7A18H O A18CH O 1A18H O 5D87H

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

Explain what computer-program maintenance is.

Answered: 1 week ago

Question

Evaluate 3x - x for x = -2 Answer:

Answered: 1 week ago