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

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025

Комментарии • 28

  • @EngineeringFunda
    @EngineeringFunda  Год назад

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

  • @sudarshann7194
    @sudarshann7194 Год назад +10

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

  • @veerabhadrayyakalacharanti4051
    @veerabhadrayyakalacharanti4051 10 месяцев назад +1

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

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

  • @mathhfov2272
    @mathhfov2272 9 месяцев назад +2

    Thank you so much professor

    • @EngineeringFunda
      @EngineeringFunda  9 месяцев назад

      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 🙏

  • @hussainsharif6023
    @hussainsharif6023 2 года назад +1

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

  • @Nick-ui9dr
    @Nick-ui9dr Год назад

    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.

  • @eren_n3
    @eren_n3 Год назад +1

    • @EngineeringFunda
      @EngineeringFunda  Год назад +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 🙏

  • @chinni949
    @chinni949 8 месяцев назад

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

  • @uvaanstree854
    @uvaanstree854 Год назад +1

    Can we use POP R1 instead of R3?

  • @SagarManna-x5x
    @SagarManna-x5x Месяц назад

    1.5. we push data onto the stack then the stack pointer
    a) increases with every push
    b) decreases with every push
    c) increases & decreases with every push.
    d) none of the mentioned
    Please tell me

  • @markus4334
    @markus4334 Год назад

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

  • @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 Год назад

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

    • @BaidikSarcar
      @BaidikSarcar Год назад

      ​@@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 Год назад +1

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