i dont mean to be so offtopic but does any of you know of a tool to log back into an Instagram account? I was stupid lost my account password. I would appreciate any tips you can offer me
The explanation is really good but will you please run the program in simulator? I have to totally forgot how to run it and exam is knocking at the door sir. Will be really grateful. And the programs aren't user friendly imo cause user can not give any input. These are only applicable for fixed input.
Thank you sir , this video is very useful , i see some another videos related to this at another channel that is not good sir some more video make related to sim8085
+Sher Khan This software is "8085 simulator by jubin". Also one of the other simulator, GNU simulator is also there. Lok for my simulator video on 8085.
For 16 bit addition, first you need 16 bit register. We have only 8 bit registers, so we can use register pair. We will need 2 pairs for storing two 16 bit numbers. To make it simple, DAD instruction is already there. And it works only with HL and DE pair. SO we have to use them. Hope it helps
Dear whenever you add two 16bit nos. how you can get a result of 16 bit? Just think about it!! It will always be 17 bit result. Just add two smallest possible 16 bit numbers and observe!!
Thanks for observing. Ofcourse, the answer can be 16 bit(when no carry) or it can also be 17 bit(in case there is carry) . But in such cases, your 17th bit is shown by carry flag. Thats why we only consider 16 bit answer.
What I am trying to say is when we add two 16-bit numbers the answer will always be 17 bit, carry will be generated every time. Let's go through with some illustrations Let's add 2 two-bit numbers (all numerals in base 2) 10+10=100 (in decimal 2+2=4), carry generate hence the result is 3-bit 10+11=105 (in decimal 2+3=5), carry generate hence the result is 3-bit 01+10= 11 (in decimal 1+2=3), Here we added a 1-bit number with the 2-bit number and hence no carry was generated, thus result is a 2-bit number. Now let's try adding two 3 bit numbers, now our answer will always be 4-bit as carry will always be there. 100+100=1000(in decimal 4+4=8) 100+101 = (1001) (in decimal 4+5=9) Similarly, when we add a smallest 16-bit number with itself we will get a 17-bit number. Smallest 16-bit no. is 1000000000000000 (1 followed by 15 zeros) 1000000000000000 +1000000000000000 = 10000000000000000 (1 followed by 16 zeros). So answer is a17-bit number. Hence whenever two n-bit numbers are added result will always be (n+1) bit number. The case when carry might not generate include (carry may be there or may not be there) Addition of n-bit no. with (n-1) bit number or Addition of n-bit no. with (n-2) bit number or . . . and so on! Got my point!!
You've a little confusion as a student. Let me clear it. 0001H (16 bit number) + 1000H (also a 16 bit number). Tell me the answer of their addition. You'll get your confusion solved.
@@programmingfunda5788 so as per you 0000H is also a 16 bit number? 0's left of 1 doesn't add to the bits in any number system. 0000H is not 16 bit number. where as 1000H is 0100H is 12 bit 0010H is 8 bit 0001H is 4 bit
@@programmingfunda5788 Run this program in your simulator mvi B,0001H mvi A,0001H Add B hlt; This will ultimatly prove my Narrative!! I just ended up adding two 16 bit numbers with simple mvi and add commands! Ureka.. Lol!!
Thank you so much. My all doubts are now cleared. Again thank you 😊 so much for sharing this video. 👍🏼👍🏼👍🏼👍🏼👌
i dont mean to be so offtopic but does any of you know of a tool to log back into an Instagram account?
I was stupid lost my account password. I would appreciate any tips you can offer me
Great service 🙏
Thanks sir ...very useful video
sir ! How to store carry in desire memory location?
which software you use
Thank u sir 😘😘😘😘😘😘😘
Your voice is like Hrithik
Wow. Thank you.
The explanation is really good but will you please run the program in simulator? I have to totally forgot how to run it and exam is knocking at the door sir. Will be really grateful. And the programs aren't user friendly imo cause user can not give any input. These are only applicable for fixed input.
Sir app konsa application use kr rhe the pc mee
Gnusim8085. Its free tool
Wow nice sir
Thanks for viewing. Hope it helped you
Thank you sir , this video is very useful , i see some another videos related to this at another channel that is not good sir some more video make related to sim8085
Thankyou so much for these videos
Thanks of this video
Can you please tell us which software are you using?
+Sher Khan This software is "8085 simulator by jubin". Also one of the other simulator, GNU simulator is also there. Lok for my simulator video on 8085.
its on github
Why we have to put input data in HL register?
For 16 bit addition, first you need 16 bit register. We have only 8 bit registers, so we can use register pair. We will need 2 pairs for storing two 16 bit numbers.
To make it simple, DAD instruction is already there. And it works only with HL and DE pair. SO we have to use them.
Hope it helps
Sir how to run same program on android app of Intel 8085 simulator pls clear the doubt.
+Vivek Shresth I have not tried that. It would be much better if you use computer to program instead of android I guess.
thanks
Nice explained but you use red pencil on black board it is not clearly see
Thank you sir
You're welcome. Click subscribe and click bell icon to get regular updates.
Sir nice explanation but in which memory location result stored please tell me
Same is my questions
Prqctically kit pe batae sir ye program
You run on simulator. Don't have kit available.
Why FE is stored in L .....it should be stored in H register
Sir how to add two 8 bit number and sum is 16 bit number
Dear whenever you add two 16bit nos. how you can get a result of 16 bit? Just think about it!! It will always be 17 bit result. Just add two smallest possible 16 bit numbers and observe!!
Thanks for observing. Ofcourse, the answer can be 16 bit(when no carry) or it can also be 17 bit(in case there is carry) . But in such cases, your 17th bit is shown by carry flag. Thats why we only consider 16 bit answer.
What I am trying to say is when we add two 16-bit numbers the answer will always be 17 bit, carry will be generated every time. Let's go through with some illustrations
Let's add 2 two-bit numbers (all numerals in base 2)
10+10=100 (in decimal 2+2=4), carry generate hence the result is 3-bit
10+11=105 (in decimal 2+3=5), carry generate hence the result is 3-bit
01+10= 11 (in decimal 1+2=3), Here we added a 1-bit number with the 2-bit number and hence no carry was generated, thus result is a 2-bit number.
Now let's try adding two 3 bit numbers, now our answer will always be 4-bit as carry will always be there.
100+100=1000(in decimal 4+4=8)
100+101 = (1001) (in decimal 4+5=9)
Similarly, when we add a smallest 16-bit number with itself we will get a 17-bit number.
Smallest 16-bit no. is 1000000000000000 (1 followed by 15 zeros)
1000000000000000 +1000000000000000 = 10000000000000000 (1 followed by 16 zeros). So answer is a17-bit number.
Hence whenever two n-bit numbers are added result will always be (n+1) bit number.
The case when carry might not generate include (carry may be there or may not be there)
Addition of n-bit no. with (n-1) bit number or
Addition of n-bit no. with (n-2) bit number or
.
.
.
and so on!
Got my point!!
You've a little confusion as a student. Let me clear it.
0001H (16 bit number) + 1000H (also a 16 bit number). Tell me the answer of their addition. You'll get your confusion solved.
@@programmingfunda5788 so as per you 0000H is also a 16 bit number?
0's left of 1 doesn't add to the bits in any number system.
0000H is not 16 bit number.
where as 1000H is
0100H is 12 bit
0010H is 8 bit
0001H is 4 bit
@@programmingfunda5788 Run this program in your simulator
mvi B,0001H
mvi A,0001H
Add B
hlt;
This will ultimatly prove my Narrative!!
I just ended up adding two 16 bit numbers with simple mvi and add commands! Ureka.. Lol!!
FROM WHERE TO DOWNLOAD THIS SOFTWARE
Google - 8085 simulator by jubin
Subtraction and division ka bhi program dalo plz
carry generate wala part bhi smjhao?
i did t understand about register indirect addresing mode
Sir plz division ka bhi program batai
Bhai isme algorithm kya hoga
Alogorithm would be quite simple.
1.Store two 8 bit numbers one in A and other in B.
2. Add them using Add imstruction.
Sir humlog ne ADD ka ise kyu ni kiya 16 bit addition mei
Because ADD sirf 8 bit numbers ko hi add kar sakta hai. ADD ka use karke thoda lamba program ho jayega.
Apne number liye hai to waha hum kya use kre
sir I want to say that you make videos with no....
.......... 😢