Stack of 8051 Microcontroller Explained: PUSH and POP Instructions, Working, and Program

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

КОМЕНТАРІ • 26

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

    🔥All Premium Courses Link of Engineering Funda🔥
    docs.google.com/spreadsheets/d/1LeLxZPGiMB_ZDZggbZp3P7fK516pXYhVgZA__djNkWM/edit#gid=0

  • @sudarshann7194
    @sudarshann7194 Рік тому +9

    Most underrated channel, I'm just loving to learn from your videos sir , tomorrow i have exam and now I'm reading through your channel.
    - respect and love from Karnataka ❤

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

      All the subjects playlist of Engineering Funda is available in comment section. Share it with your friends to support us.
      Your positive comments motivates me and person like me get boosted by my students feedback. Thanks and welcome 🙏

  • @EngineeringFunda
    @EngineeringFunda  2 роки тому +2

    ⬇ *Premium Courses of Engineering Funda* ⬇
    ✅ *༺🚩Computer Network 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e6fvY8yegkzDBiK7ywj8ZhK.html
    ✅ *༺🚩Computer Architecture & Organization 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7XZXcFujMw--IDZ2nnsXNT.html
    ✅ *༺🚩ARM Processor 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7nFEozQhZDZDSm09SwqbGP.html
    ✅ *༺🚩Internet of Things - IoT 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e6FvFUItZbGYnKiqjrlLpCb.html
    ✅ *༺🚩Microprocessor 8085 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5vHwmowy_kGtjq9Ih0FzwN.html
    ✅ *༺🚩Microprocessor 8086 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e4oAeDid0hwuiol_RJdscrp.html
    ✅ *༺🚩AVR Microcontroller 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e55CdbY_WnY6pejPHoojCkJ.html
    ✅ *༺🚩8051 Microcontroller 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e49i6neo70aGtFLvKeZ3IQD.html
    ✅ *༺🚩80386 & Pentium Processor 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7f4yPj6AbrUoburKwX0fFA.html
    ✅ *༺🚩Embedded System 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5xvXygtghfi-tzyeACx7CO.html
    ✅ *༺🚩VLSI 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e6au9bX9P_bA3ywxqigCsaC.html
    ✅ *༺🚩Digital Electronics 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7nYSG31YWEUfwgAp2uIOBY.html
    ✅ *༺🚩Network Theory 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7AccPu8mUhhsJNol9uIKTJ.html
    ✅ *༺🚩Control Engineering 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e43et6qbo4IqYSJCv-6kN90.html
    ✅ *༺🚩Electromagnetic Theory 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e4I_YltJja47CwZJkzNWK89.html
    ✅ *༺🚩Power Electronics 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5Hnu82T1CYLZ8kbZs4Jx8x.html
    ✅ *༺🚩Electronic Devices 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5G05PTgyTTSVyzTOKRfmTn.html
    ✅ *༺🚩Signal and System 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7VdLw7PebRTcZXb_4nKeVh.html
    ✅ *༺🚩Optical Communication 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7CDIWsh61eItP9iRw1EIQc.html
    ✅ *༺🚩Analog Communication 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7uyUYrpgUUQowmRuKxRdwp.html
    ✅ *༺🚩Digital Communication 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5PngHbdEadEun5XPvnn00N.html
    ✅ *༺🚩Antennas & wave Propagation 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7tzLIDL4aXUbtRFY3ykmkT.html
    ✅ *༺🚩Microwave Engineering 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e6A4Mtxud6xPHE1UecxWsHW.html
    ✅ *༺🚩Basic Electronics 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e76qHT4VOu9uTw8wj0i4blS.html
    ✅ *༺🚩Analog Electronics 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5u1DJ5jfTcj6m1GX-cEdm8.html
    ✅ *༺🚩Digital Signal Processing 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e4QMlcn_WS85C78UFFNTcbp.html
    ✅ *༺🚩RADAR Engineering 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e4KmA52Jw3-JhDhFIDQZ9Bv.html
    ✅ *༺🚩Audio Video System / TV 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7EJcPI0P_DMw49ufTYfuOz.html
    ✅ *༺🚩Engineering Drawing/ Graphics 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e79xuABrIQeXYlGuuickEz7.html
    ✅ *༺🚩Basic Mechanical Engineering 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e7Fe4vAYDaL0bpseGNhc9on.html
    ✅ *༺🚩Mechanics of Solid 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e53xcLCS7ay2iLRolNxyxFk.html
    ✅ *༺🚩Theory of Computation 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e6GfXdwqWX5YmszV2KGv-yl.html
    ✅ *༺🚩Java Programming 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5BeN1WTXg1ENPtkRR3SfCI.html
    ✅ *༺🚩Python Programming 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5pY2eB-Lht2_CerQue0Xo4.html
    ✅ *༺🚩Placement Test series on C 🚩༻* - ua-cam.com/play/PLgwJf8NK-2e5ovLgoJkv0Pn58UrucrTPt.html
    ✅ *༺ Please Share it with your friends to support us. ༻*
    👉 *༺ You can also support us by joining us ༻* : ua-cam.com/channels/dlnqMpRrMcClK2fT6z8EEw.htmljoin

  • @veerabhadrayyakalacharanti4051
    @veerabhadrayyakalacharanti4051 8 місяців тому +1

    i am following ur channel for this course and loved this video sir

    • @EngineeringFunda
      @EngineeringFunda  8 місяців тому +1

      Your Appreciations, care and share matters a lot to me. #EnginneringLove.
      All the subjects playlist of Engineering Funda is available in comment section. Share it with your friends to support us.
      Your positive comments motivates me and person like me get boosted by my students feedback. Thanks and welcome 🙏

  • @mathhfov2272
    @mathhfov2272 6 місяців тому +2

    Thank you so much professor

    • @EngineeringFunda
      @EngineeringFunda  6 місяців тому

      Your Appreciations, care and share matters a lot to me. #EnginneringLove.
      All the subjects playlist of Engineering Funda is available in comment section. Share it with your friends to support us.
      Your positive comments motivates me and person like me get boosted by my students feedback. Thanks and welcome 🙏

  • @Nick-ui9dr
    @Nick-ui9dr 11 місяців тому

    7:34 So this is what they talking about in Intel manuals... that earlier processor updates SP before operation... LOL ... Usually now R1 i.e. 11H will be pushed at address 2F then SP will be decremented appropriately according to size of data (register) pushed. ....that's interesting anyway. 😃 And seems like SP behaving negatively here... I mean going up on push. Now a days it goes down on pushes and vice versa.

  • @hussainsharif6023
    @hussainsharif6023 Рік тому +1

    Defaultly(when power is given) on PUSH instruction 1st item of stack address will be 08H in RAM

  • @uvaanstree854
    @uvaanstree854 Рік тому +1

    Can we use POP R1 instead of R3?

  • @chinni949
    @chinni949 6 місяців тому

    sir the data in stack will remain in it after pop instruction is executed ?

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

    When i write PUSH R1, it show error, and code that work is PUSH 3 , without "R", same for POP.

  • @eren_n3
    @eren_n3 10 місяців тому +1

    • @EngineeringFunda
      @EngineeringFunda  10 місяців тому +1

      Your Appreciations, care and share matters a lot to me. #EnginneringLove.
      All the subjects playlist of Engineering Funda is available in comment section. Share it with your friends to support us.
      Your positive comments motivates me and person like me get boosted by my students feedback. Thanks and welcome 🙏

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

    sir, please enable auto-generated captions

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

    At 9:10 what happens if we do another POP R5?

    • @RamanKumar-sp9bz
      @RamanKumar-sp9bz Рік тому

      the garbage value stored at 2FH location will be stored in R5 (i suppose)

    • @BaidikSarcar
      @BaidikSarcar 11 місяців тому

      ​@@RamanKumar-sp9bz and after that, will SP decrement to 2EH address?

    • @BaidikSarcar
      @BaidikSarcar 11 місяців тому

      ​@@RamanKumar-sp9bzand I have another doubt. In the program, shouldn't 2FH be without hashtag as it is the new RAM address location and not a data?

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

      ​@@BaidikSarcar No, Bcz we are telling SP the address directly (With Hashtag) not telling it to go to the address, retrive the value and store it in SP (Without Hashtag). i.e #2FH means value 2FH is stored, but only 2FH means that it should store the data from memory location 2FH.