Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 2 (Q.No. 16)
16.
Initially the number decimal 8 is stored. If instruction RAL is executed twice, the final number stored will be
decimals 8
decimal 16
decimal 32
decimal 2
Answer: Option
Explanation:

If instruction RAL is executed once the number gets doubled.

Discussion:
5 comments Page 1 of 1.

Prateek said:   6 years ago
0001000.

1st rotate = 0010000 (16).
2nd rotate = 0100000 (32).

Parul said:   6 years ago
How it works when the instruction is rotated accumulator left through the carry and what carry assumed?

Masssi said:   7 years ago
Number = 8,
1st ral=16,
2nd ral=32,
Answer is 32.

Carolene said:   8 years ago
(8*2) *2=32.

Crp said:   9 years ago
How? Explain it.

Post your comments here:

Your comments will be displayed after verification.