Electronics and Communication Engineering - Microprocessors - Discussion
Discussion Forum : Microprocessors - Section 1 (Q.No. 7)
7.
To multiply a number by 8 in 8085 we have to use
RAL
instructionAnswer: Option
Explanation:
When RAL instruction is used once the number is doubled.
Discussion:
20 comments Page 1 of 2.
Mansi said:
5 years ago
How can we perform multiplication using RAL if multiplier is odd number i.e,3*5? Please tell me.
RAMESH KUMAR said:
6 years ago
Thanks all for explaining.
Chandan jeeva said:
7 years ago
4 is the answer.
00001.
Perform left shift by four times then it will be come 10000=16.
In microprocessor to multiply any number we have to move the data to accumilatorand RAL is used how much time we have to multiply that number account to above calculation.
00001.
Perform left shift by four times then it will be come 10000=16.
In microprocessor to multiply any number we have to move the data to accumilatorand RAL is used how much time we have to multiply that number account to above calculation.
Prasann said:
7 years ago
If it is multiplied by 16 means, what is the answer?
Manjunatha said:
8 years ago
@Priyank.
11000110 (B) is = 198 (D), RAL instruction is used as Multiplication.
11000110 (B) is = 198 (D), RAL instruction is used as Multiplication.
Priyank said:
8 years ago
How can RAL lead to multiplication as in this instruction the MSB is loaded into carrying flag while moving the whole data to the left by one bit and simultaneously moving the initial carry flag value to the LSB?
Let, Acc-: 01100011b = 99d,
C-: 0
Now, after RAL instruction the value in Acc will be -: 11000110b = 188d not equal to 2 * 99.
So, RAL cannot perform multiplication.
Let, Acc-: 01100011b = 99d,
C-: 0
Now, after RAL instruction the value in Acc will be -: 11000110b = 188d not equal to 2 * 99.
So, RAL cannot perform multiplication.
Abyson said:
8 years ago
Very helpful, Thanks @Meena.
Afzal said:
9 years ago
@Jaideep,
Last line is simple as that of first two. Initially she takes 4 i.e. 0100 and in the last line we got 32 which is nothing but 8 x 4 = 32. Thats only the answer that we wanted.
Last line is simple as that of first two. Initially she takes 4 i.e. 0100 and in the last line we got 32 which is nothing but 8 x 4 = 32. Thats only the answer that we wanted.
Jaideep said:
9 years ago
@Meena, how the last line become 8 times?
Phope said:
9 years ago
#Meena.
8 time, please explain how the last line?
8 time, please explain how the last line?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers