ASSEMBLY LANGUAGE Determine content of the destination operand & the status flags for the following instructions Note: series of instructions would be executed in sequence. Destination Operand SF ZF PF CF AF OF

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

ASSEMBLY LANGUAGE

Determine content of the destination operand & the status flags for the following instructions

Note: series of instructions would be executed in sequence.

Destination Operand SF ZF PF CF AF OF

1.) MOV AL,AB

2.) MOV BL,CD

3.)AND BL,AL

4.) OR BL,AL

5.) NOT BL

6.) XOR BL,AL

7.) TEST AL, BL

8.) SHL AL,1

9.) SAR AL,1

10.) ROL AL,1

11.) RCL AL,1

12.) MOV CL,5

13.) ROR AL,CL

14.) SHR AL, CL

15.) RCR AL,CL

16.) STC

17.) MOV AH,EF

18.) SAHF

19.) CLC

20.) LAHF

21.) CMC

THE CHOICES ARE ON THE IMAGES

[ Choose ]
BL=AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF =X; OF = 0;
AL=AB; SF = 0; ZF = 0; PF = 0; CF = 0; AF = 0; OF = 0;
BL=89; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0;
AH=EF; SF = 1; ZF = 0; PF = 1; CF = 1; AF = 0; OF = X;
AL=56; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = %3;
AL=65; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X;
AL-AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0;
AL=03; SF = 0; ZF = 0; PF = 1; CF = 0F = X; OF = X;
AL=2B; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0;
AH=C6; SF = 1; ZF = 0; PF = 1; CF = 0; AF = 0; OF = X;
CL=05; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1%;
BL=54; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0;
BL-CD; SF = 0; ZF = 0; PF = 0; CF = 0; AF = 0; OF = 0;
AL=30; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X;
BL=FF; SF = 1; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0;
AL=AC; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1;
AL=30; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = X;
AH=EF; SF = 1; ZF = 0; PF = 1; CF = 0; AF = 0; OF = X;
AL=56; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0;
AH=EF; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X;
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
Transcribed Image Text:[ Choose ] BL=AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF =X; OF = 0; AL=AB; SF = 0; ZF = 0; PF = 0; CF = 0; AF = 0; OF = 0; BL=89; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0; AH=EF; SF = 1; ZF = 0; PF = 1; CF = 1; AF = 0; OF = X; AL=56; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = %3; AL=65; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X; AL-AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0; AL=03; SF = 0; ZF = 0; PF = 1; CF = 0F = X; OF = X; AL=2B; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0; AH=C6; SF = 1; ZF = 0; PF = 1; CF = 0; AF = 0; OF = X; CL=05; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1%; BL=54; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0; BL-CD; SF = 0; ZF = 0; PF = 0; CF = 0; AF = 0; OF = 0; AL=30; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X; BL=FF; SF = 1; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0; AL=AC; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1; AL=30; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = X; AH=EF; SF = 1; ZF = 0; PF = 1; CF = 0; AF = 0; OF = X; AL=56; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0; AH=EF; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X; %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D
[Choose]
AH=C8; SF = 1; ZF = 0; PF = 1; CF = 1; AF = 0; OF = X;
BL=AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0;
AL=AB; SF = 0; ZF = 0; PF = 0; CF = 0; AF = 0; OF = 0;
BL=89; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 03;
AH=EF; SF = 1; ZF = 0; PF = 1; CF = 1; AF = 0; OF = X;
AL=56; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = 1%3;
AL=65; SF = 0; ZF = 0; PF = 1; CF =hI; AF = X; OF = X;
AL=AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0;
AL=03; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = X;
AL=2B; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0;
AH=C6; SF = 1; ZF = 0; PF = 1; CF = 0; AF = 0; OF = X;
CL=05; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1;
BL=54; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0;
BL=CD; SF = 0; ZF = 0; PF = 0; CF = 0; AF = ; OF = 0;
AL=30; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X;
BL=FF; SF 1; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0;
AL=AC; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1;
AL=30; SF = 0; ZF 0; PF = 1; CF 0; AF = X; OF = X;
AH=EF; SF = 1; ZF = 0; PF = 1; CF 0; AF = 0; OF = X;
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
%3D
Transcribed Image Text:[Choose] AH=C8; SF = 1; ZF = 0; PF = 1; CF = 1; AF = 0; OF = X; BL=AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0; AL=AB; SF = 0; ZF = 0; PF = 0; CF = 0; AF = 0; OF = 0; BL=89; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 03; AH=EF; SF = 1; ZF = 0; PF = 1; CF = 1; AF = 0; OF = X; AL=56; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = 1%3; AL=65; SF = 0; ZF = 0; PF = 1; CF =hI; AF = X; OF = X; AL=AB; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0; AL=03; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = X; AL=2B; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0; AH=C6; SF = 1; ZF = 0; PF = 1; CF = 0; AF = 0; OF = X; CL=05; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1; BL=54; SF = 1; ZF = 0; PF = 0; CF = 0; AF = X; OF = 0; BL=CD; SF = 0; ZF = 0; PF = 0; CF = 0; AF = ; OF = 0; AL=30; SF = 0; ZF = 0; PF = 1; CF = 1; AF = X; OF = X; BL=FF; SF 1; ZF = 0; PF = 1; CF = 0; AF = X; OF = 0; AL=AC; SF = 0; ZF = 0; PF = 1; CF = 0; AF = X; OF = 1; AL=30; SF = 0; ZF 0; PF = 1; CF 0; AF = X; OF = X; AH=EF; SF = 1; ZF = 0; PF = 1; CF 0; AF = 0; OF = X; %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D %3D
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY