🔍

What will be the hexadecimal value in the register ax (32-bit) after executing the following instructions?

Mov al, 15
Mov ah, 15
Xor al, al
Mov cl, 3
Shr ax, cl
Codes:
(A) 0F00 h (B) 0F0F h
(C) 01E0 h (D) FFFF h
0 like 0 dislike

1 Answer

(C) 01E0 h
0 like 0 dislike

Related questions

A DMA controller transfers 32-bit words to memory using cycle Stealing. The words are assembled from a device that transmits characters at a rate of 4800 characters per second. The CPU is fetching and executing instructions at an average ... of the DMA transfer? (A) 0.06% (B) 0.12% (C) 1.2% (D) 2.5%
Answer : Answer: B...

View solution
0 like 0 dislike
1 answer

The contents of Register (BL) and Register (AL) of 8085 microprocessor are 49H and 3AH respectively. The contents of AL, the status of carry flag (CF) and sign flag (SF) after executing 'SUB AL, BL' assembly language instruction, are ( ... ; CF=0; SF=0 (3) AL=F1H; CF=1; SF=1 (4) AL=1FH; CF=1; SF=1
Answer : Answer: 3...

View solution
0 like 0 dislike
1 answer

A CPU handles interrupt by executing interrupt service subroutine................. (A) by checking interrupt register after execution of each instruction (B) by checking interrupt register ... cycle (C) whenever an interrupt is registered (D) by checking interrupt register at regular time interval
Answer : (A) by checking interrupt register after execution of each instruction...

View solution
0 like 0 dislike
1 answer

Identify direct addressing instructions from following instructions : (i) MOV RO, R5 (ii) MOV RO, 80 H (iii) MOV RO, #75H (iv) ADD A, 45 H
Answer : Instructions ii) and iv) are direct addressing as 80H and 45H are direct addresses...

View solution
0 like 0 dislike
1 answer

What will be the output at PORT1 if the following program is executed? MVI B, 82H MOV A, B MOV C, A MVI D, 37H OUT PORT1 HLT (A) 37H (B) 82H (C) B9H (D) 00H
Answer : Answer: B Explanation: In 8085 programming, the result of an operation is stored in the accumulator. So output is 82H....

View solution
0 like 0 dislike
1 answer

50.5k questions

47.1k answers

240 comments

7.0k users