SCL - Assembly
SCL - Assembly
SCL - Assembly
TECHNOLOGY
UNIVERSITY PUTRA MALAYSIA
SCL
CSC3200
SECOND SEMESTER 2023/2024
2. Show the result in the destination operand. Indicate if the instruction is invalid.
Assume that BYTE1 is defined as DB 05 and WORD3 is defined as DW 216.
a) MOV CX,25H
b) MOV CL,0
c) MOV AX, BYTE1
d) ADD DL, BYTE1
e) SUB CL, WORD3
f) ADD DH, 051CH
3. What is the value in the AX register and/or BL register after the following
sequence of instructions are executed?
A DB 11110100B
B DB 00000111B
5. How many times does the following LOOP instruction will be executed?
MOV CX, 9
L2:
SUB CX, 2
LOOP L2
6. What is the value in the AX register and/or BL register after the following
sequence of instructions are executed?