1 2 3 4 5 A) MOV AL, X XCHG AL, Y MOVY, AL 6 C) MOV AL, X XCHG AL, Y MOV X, AL 1. Which of the following code exchange the values of the two variables x and y. B) XCHG X, Y 2. ORG 100H MOV BL,20H MOV CL,30H MOV DL,40H MOV CH, BL MOV DH,CL MOV AX, BX MOV BX,CX HLT 3. What is the meaning of " y db 8 dup(?)" A) AX=0020 BX=2030 CX=3020 D) MOV AL, X MOVY, AL B) AX=2000 BX=2030 CX=2030 C) AX=0020 BX=2003 CX=2030 D) AX=0020 BX=2030 CX=2030 A) define y as one byte with value equal to 8 B) define y as eight bytes with value equal to 8 C) define y as eight bytes with value equal to? D) define y as one byte with value equal to ?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please answer fast

 

1
2
3
4
A) MOV AL, X
XCHG AL, Y
MOVY, AL
5
ADD DH, N+1
LOOP L
6
1. Which of the following code exchange the values of the two variables x and y.
B) XCHG X, Y
2. ORG 100H
MOV BL,20H
MOV CL,30H
MOV DL,40H
MOV CH, BL
MOV DH,CL
MOV AX, BX
MOV BX,CX
HLT
3. What is the meaning of " y db 8 dup(?)"
L1: ADD X, 5
L2: LOOP L3
HLT
X DB-4
4. The value of DH after executing the following
code is
ORG 100H
MOV CX, 2
L:
INC N
HLT
N DB 07H, 23H, 4CH, OABH, 11H, 12H
5. The value of X after executing this code =
ORG 100H
MOV CX,3
L3: MOV AL, 3
CMP X, AL
JB L1
ADD X, -5
JMP L2
C) MOV AL, X
XCHG AL, Y
MOV X, AL
A) AX=0020
BX=2030
CX=3020
B) AX=2000
BX=2030
CX=2030
A) 07h
D) MOV AL, X
MOVY, AL
B) 23h
A) define y as one byte with value equal to 8
B) define y as eight bytes with value equal to 8
C) define y as eight bytes with value equal to?
D) define y as one byte with value equal to ?
A) OEDh
B) OF1h
C) OECh
D) Error
C) AX=0020
BX=2003
CX=2030
D) AX=0020
BX=2030
CX=2030
C) O
D) 46h
Transcribed Image Text:1 2 3 4 A) MOV AL, X XCHG AL, Y MOVY, AL 5 ADD DH, N+1 LOOP L 6 1. Which of the following code exchange the values of the two variables x and y. B) XCHG X, Y 2. ORG 100H MOV BL,20H MOV CL,30H MOV DL,40H MOV CH, BL MOV DH,CL MOV AX, BX MOV BX,CX HLT 3. What is the meaning of " y db 8 dup(?)" L1: ADD X, 5 L2: LOOP L3 HLT X DB-4 4. The value of DH after executing the following code is ORG 100H MOV CX, 2 L: INC N HLT N DB 07H, 23H, 4CH, OABH, 11H, 12H 5. The value of X after executing this code = ORG 100H MOV CX,3 L3: MOV AL, 3 CMP X, AL JB L1 ADD X, -5 JMP L2 C) MOV AL, X XCHG AL, Y MOV X, AL A) AX=0020 BX=2030 CX=3020 B) AX=2000 BX=2030 CX=2030 A) 07h D) MOV AL, X MOVY, AL B) 23h A) define y as one byte with value equal to 8 B) define y as eight bytes with value equal to 8 C) define y as eight bytes with value equal to? D) define y as one byte with value equal to ? A) OEDh B) OF1h C) OECh D) Error C) AX=0020 BX=2003 CX=2030 D) AX=0020 BX=2030 CX=2030 C) O D) 46h
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Concept of memory addresses in pointers
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education