Simple Programs of 8051 | Part-2/2 | Embedded Systems | Lec-7 | Bhanu priya

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 49

  • @sreenivasulub4132
    @sreenivasulub4132 3 роки тому +1

    Super explanation mom thank u

  • @makwananeel8389
    @makwananeel8389 5 років тому +2

    I like all the videos... Very use full in my study...

  • @Swarnalatha-md4vz
    @Swarnalatha-md4vz 5 років тому +13

    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.

    • @CardiMinaj-jt1lt
      @CardiMinaj-jt1lt 8 місяців тому +1

      There's no such interaction in 8051 (by now u might have probably completed ur engineering. Lol)

    • @Swarnalatha-md4vz
      @Swarnalatha-md4vz 8 місяців тому +3

      @@CardiMinaj-jt1lt I have completed by btech and working as Software Eng. with 4 yrs of exp 😄

    • @CardiMinaj-jt1lt
      @CardiMinaj-jt1lt 8 місяців тому +1

      @@Swarnalatha-md4vz greattt

    • @SubhashReddy-y9w
      @SubhashReddy-y9w 18 днів тому

      yeah u cannot exchange registers directly. but yeah its been 4 years
      How's life bro

  • @codeminatiinterviewcode6459
    @codeminatiinterviewcode6459 3 роки тому +3

    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.

    • @dhruvgaikwad59
      @dhruvgaikwad59 5 місяців тому

      It's not required to manually specify dph and dpl

  • @Jai-yv1ye
    @Jai-yv1ye 15 днів тому

    but where we will write these codes or programs ....?

  • @sbbg6784
    @sbbg6784 3 роки тому

    Great job like it

  • @surabhikadam3235
    @surabhikadam3235 3 роки тому

    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?

    • @ashwind9742
      @ashwind9742 2 роки тому +1

      Hey does is she teaching us wrong or something pls reply since I'm relying on this video

    • @ghost_riderrr
      @ghost_riderrr 10 місяців тому

      We cannot address two general purpose registers

  • @rub7864
    @rub7864 2 роки тому

    Mam gere exacept data pointer can we take simple register

  • @waghvinod
    @waghvinod 5 років тому +2

    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

    • @rahulsurendran3472
      @rahulsurendran3472 5 років тому

      Bro only a copy of accumulator ic copied the value 48 will be there until u erase or rewritr it

  • @RohitSharma-oh3gs
    @RohitSharma-oh3gs 4 роки тому +5

    Why can't we use
    ECH R1,R2
    It can simply swap the value..
    Plz clear my doubt..

  • @zeeshan123633
    @zeeshan123633 Рік тому

    What is use of LCALL ?

  • @sathyashiva3363
    @sathyashiva3363 2 місяці тому

    Nice

  • @DbCo0pEr
    @DbCo0pEr 2 роки тому

    what is
    LCALL OOBB

  • @BalaMurugan-wc6ph
    @BalaMurugan-wc6ph 4 роки тому

    Use sketch to write fuly.dt use pen.bcoz not visible.it s irritate eye

  • @diwakarmr9124
    @diwakarmr9124 5 років тому +1

    Super mam

  • @ritikabansal5453
    @ritikabansal5453 3 роки тому

    Ma'am is it sufficient for University exam?

  • @Ganesh_Gani799
    @Ganesh_Gani799 Рік тому

    Explain program,after with logic

  • @rajwatson25
    @rajwatson25 5 років тому

    Mam please add this video to the MPMC playlist

  • @arunsathieee01
    @arunsathieee01 4 роки тому

    Write code to divide a 8bit number by 4 and store the result in 5000(H), what is the answer of this question

  • @waghvinod
    @waghvinod 5 років тому +5

    I beleive it needs to be INC @DPTR

    • @austinphilippaul7951
      @austinphilippaul7951 3 роки тому +1

      I believe the format is INC DPTR. Indirect addressing is not possible here

  • @rohananil2814
    @rohananil2814 5 місяців тому

    thanks dad

  • @manikanta5290
    @manikanta5290 4 роки тому

    write a program to multiply 25 by 10 using repeated addition. slove the program with explain plz

  • @ARaheeem
    @ARaheeem 5 років тому +5

    I think 8000H is address not data. why are u using '#'8000H in first line,

    • @starshiva7088
      @starshiva7088 4 роки тому +1

      If we write Mov DPTR,8000H then content of address 8000H will be copied but not the value-8000H...

    • @yorsibbi5926
      @yorsibbi5926 3 роки тому +1

      @@starshiva7088 but 8000H IS a address or DATA ....mam told it is address than why use # ??

    • @austinphilippaul7951
      @austinphilippaul7951 3 роки тому

      @@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

  • @parameshdruthik
    @parameshdruthik 5 місяців тому

    Tq mam

  • @ChandanKumar-of1je
    @ChandanKumar-of1je 2 роки тому

    She is mixing memory address as content and trying to increment memory address instead and conveying her lines as incrementing the content, bogus

  • @games-um9qk
    @games-um9qk 3 роки тому

    Mam can't we exchange Ro directly to R1..
    without sending the to accumulator

  • @Ajay_2003Kumar
    @Ajay_2003Kumar 3 роки тому

    In this program error is a head

  • @DarthMansur
    @DarthMansur 5 років тому

    thank you!!!!!

  • @venugopal-px4ft
    @venugopal-px4ft 4 роки тому

    what is mov x

    • @starshiva7088
      @starshiva7088 4 роки тому

      When we are dealing with external memory we use MOVX.. here X- refers to external

  • @atulpaikrao7766
    @atulpaikrao7766 5 років тому

    Thanks...

  • @deekshithbp3363
    @deekshithbp3363 4 роки тому

    Tq for doing this

  • @jaikrishna5800
    @jaikrishna5800 5 років тому

    Why movx mam

    • @garimakashyap3466
      @garimakashyap3466 5 років тому +1

      x means it's moving with regards to external memory