I have one doubt. In exchange program u r exchanging with accumulator...Is it not possible to exchange the registers directly? Plz..reply to my question.
We cannot increment/ decrement dptr directly, it rather be decrementing and incrementing the lower of upper bytes of data pointer ie; INC DPH, DEC DPL.
Hello Ms Priya I have little confusion I think the program for load a byte in external memory location and increment the contents of memory location when you wrote a line MOV @DPTR, A and on next line u wrote INC A and then MOV @DPTR, A then we are not increment memory contents because if contents of Accumulator are moved to external memory location then there is nothing in Accumulator so it will be 49 after INC A pls reply if I m wrong
@@yorsibbi5926 DPTR is a data pointer that stores the address of the data which is in external memory, so for DPTR to have the address 8000H and not the content in 8000H we have to use immediate addressing(#). We are using DPTR to access the content in external memory
Super explanation mom thank u
I like all the videos... Very use full in my study...
I have one doubt.
In exchange program u r exchanging with accumulator...Is it not possible to exchange the registers directly?
Plz..reply to my question.
There's no such interaction in 8051 (by now u might have probably completed ur engineering. Lol)
@@CardiMinaj-jt1lt I have completed by btech and working as Software Eng. with 4 yrs of exp 😄
@@Swarnalatha-md4vz greattt
yeah u cannot exchange registers directly. but yeah its been 4 years
How's life bro
We cannot increment/ decrement dptr directly, it rather be decrementing and incrementing the lower of upper bytes of data pointer ie; INC DPH, DEC DPL.
It's not required to manually specify dph and dpl
but where we will write these codes or programs ....?
Great job like it
Why can't we directly increment @DPTR ?
INc @DPTR
Why can't we directly exchange between register?
EXG R0,R1
Why always use an accumulator?
Hey does is she teaching us wrong or something pls reply since I'm relying on this video
We cannot address two general purpose registers
Mam gere exacept data pointer can we take simple register
Hello Ms Priya I have little confusion I think the program for load a byte in external memory location and increment the contents of memory location when you wrote a line MOV @DPTR, A and on next line u wrote INC A and then MOV @DPTR, A then we are not increment memory contents because if contents of Accumulator are moved to external memory location then there is nothing in Accumulator so it will be 49 after INC A pls reply if I m wrong
Bro only a copy of accumulator ic copied the value 48 will be there until u erase or rewritr it
Why can't we use
ECH R1,R2
It can simply swap the value..
Plz clear my doubt..
i was thinking the same
What is use of LCALL ?
Nice
what is
LCALL OOBB
Use sketch to write fuly.dt use pen.bcoz not visible.it s irritate eye
Super mam
Ma'am is it sufficient for University exam?
Explain program,after with logic
Mam please add this video to the MPMC playlist
Write code to divide a 8bit number by 4 and store the result in 5000(H), what is the answer of this question
Google
I beleive it needs to be INC @DPTR
I believe the format is INC DPTR. Indirect addressing is not possible here
thanks dad
write a program to multiply 25 by 10 using repeated addition. slove the program with explain plz
I think 8000H is address not data. why are u using '#'8000H in first line,
If we write Mov DPTR,8000H then content of address 8000H will be copied but not the value-8000H...
@@starshiva7088 but 8000H IS a address or DATA ....mam told it is address than why use # ??
@@yorsibbi5926 DPTR is a data pointer that stores the address of the data which is in external memory, so for DPTR to have the address 8000H and not the content in 8000H we have to use immediate addressing(#). We are using DPTR to access the content in external memory
Tq mam
She is mixing memory address as content and trying to increment memory address instead and conveying her lines as incrementing the content, bogus
Mam can't we exchange Ro directly to R1..
without sending the to accumulator
In this program error is a head
thank you!!!!!
what is mov x
When we are dealing with external memory we use MOVX.. here X- refers to external
Thanks...
Tq for doing this
ppo poori
Why movx mam
x means it's moving with regards to external memory