Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

assembly Question#1 Choose the correct answer for each of the following ( 9 points): 1] Which register value is true after executing the following three

assembly image text in transcribed
image text in transcribed
Question\#1 Choose the correct answer for each of the following ( 9 points): 1] Which register value is true after executing the following three instructions? MOV AX, 21 MOV BH, 5 DIV BH a) AL=01 b) AH=04 c) AX=0104H d) AX=0004 2) What would be the content of memory location 103 after defining the following? ORG 100H DATAI DQ 135792468H a) 35H b) 46H c) 92H d) 79H 3) What is the content of the AL register after executing the following? MOV AL, 2AH MOV CL, 3 SHR AL, CI a) 5111 b) 45H c) 50H (d) 05H 4) Tho condition on which the instruction JBE gakes place is: 0500000101010 a) CF=0 and ZF=0 b) CF=1 and ZF=1 c) CF=1 or ZF=0 d) CF=1 or ZF=1 5] Which instruction is used to convert ASCII to unpacked BCD? a) ADD b) AND c) XOR d) CMP 6] Which instruction of the following use Register Addressing Mode? a) MOV AL, 29 b) MOVCX,[SI] c) MOVAX,[200] d) MOV CX,DX 7] Which instruction among the following would not change the content of register AL? (a) AND AL, OFFH b) OR AL, OFFH c) XOR AL, OFFH d) ADDAL,0FFH 8) What would be the value of CF, SF, and PF after executing the following? MOVBH,3Ch ADD BH, 12h a) CF=0,SF=0,PF=0 b) ]CF=0,SF=0,PF=1 c) CF=1,SF=0,PF=1 d) CF=0,SF=1,PF=0 9) Which of the following defines Packed BCD number equals 18 ? a) n1db18 " b) n2 db 18 (c) n3db18h d) n4 dw 0108h

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

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions

Question

Identify the elements that make up the employee reward package.

Answered: 1 week ago

Question

Understand the purpose, value and drawbacks of the interview.

Answered: 1 week ago