Processor Addressing Modes

Поделиться
HTML-код
  • Опубликовано: 3 авг 2024

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

  • @dodziraynard
    @dodziraynard 3 года назад +46

    Straight to the point. Trying to understand this for days. Thank you, Prof.

  • @CreativiTimothy
    @CreativiTimothy 6 месяцев назад +4

    My instructor actually includes your videos as part of the computer organization and architecture course! I love your videos. Very-well explained and amazing visual diagrams!

  • @joseblua6566
    @joseblua6566 2 года назад +3

    It amazes me how clear you make the topics you explain , thank you!

  • @alberteinstein1015
    @alberteinstein1015 5 дней назад

    Great video, would love a video discussing all the addressing modes of x86 processors.

  • @deckarep
    @deckarep 2 года назад +5

    Your teaching style is so consistent, to-the-point and well explained. Super impressed with your channel!

  • @khdhirimohamedamine
    @khdhirimohamedamine 3 года назад +2

    nothing to say except exeptional teaching, everything is clear and easy to understand thanks to your help my respect to you good sir

  • @Sheeeeshack
    @Sheeeeshack Месяц назад

    My deepest gratitudes. You are amazing, indeed. 🙏🌹

  • @shashikalaraju5769
    @shashikalaraju5769 4 года назад +15

    The best video so far about addressing modes. Thanks

  • @inflem9860
    @inflem9860 2 года назад +2

    Your videos are really helpful. Thank you so much 💙

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

    Its like i am hearing some english course dialogue for my studies lol, love how u explain. new subscriber from argentina

  • @Dragonblaster1
    @Dragonblaster1 5 лет назад +6

    This so takes me back to Microprocessor Programming when I was at college in the early 1980s. It was the Motorola 6502 then. But like clockwork, as soon as I saw that hash sign I thought "immediate mode". Funny how it comes back after all these years, and I went into electronics rather than computers. I also remember "accumulator", "zero page [register]", "indirect indexed" and "indexed indirect" addressing modes.

    • @ComputerScienceLessons
      @ComputerScienceLessons  5 лет назад +6

      Funny how we still teach this today. The concepts are still the basis for most machine architectures. Roll on quantum computers!

    • @Dragonblaster1
      @Dragonblaster1 5 лет назад +1

      @@ComputerScienceLessons Yes, it's amazing that so much of what I learned 35 years ago in a rapidly-evolving technical field is still relevant today.

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

    Thank you for this amazing explanation

  • @mnavarrotube
    @mnavarrotube 4 месяца назад

    Brilliant explanations. Thanks!

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

    Excellent explanation. Thank you so very much!

  • @BeyondCuriosity
    @BeyondCuriosity 3 года назад +4

    You sir are a god among men. 🙏🙏

  • @0xSW1337
    @0xSW1337 Год назад +1

    Clear and concise. Thank you.

  • @nandhiniselvaraj429
    @nandhiniselvaraj429 8 месяцев назад +1

    Crystal clear explanation sir continue this teaching❤

  • @sebastianviruzab7986
    @sebastianviruzab7986 4 года назад +1

    Thank you so much i have digital microsystems design exam 3 hours from now this saved me a ton of time

  • @212nforce
    @212nforce 5 лет назад +3

    Thank you, clear explanation. very much interested to see more videos from Kevin Drumm

  • @r.i.j.brighton716
    @r.i.j.brighton716 Год назад +2

    Really well presented 💯

  • @BlahBlah-zr8ie
    @BlahBlah-zr8ie 4 месяца назад +1

    this man saved me

  • @govegan6682
    @govegan6682 4 года назад +2

    Extremely helpful thank you!

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

    It's helpful! Thank you!

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

    Top notch explanation. I loved it.

  • @reynaldo2232
    @reynaldo2232 4 года назад +1

    Thank you.

  • @andresbreuer
    @andresbreuer 3 года назад +1

    Brillanttly Explained. Thx!!

  • @ipadandme211
    @ipadandme211 2 года назад +5

    He is speaking like he is reading a 📚 novel or fantasy series hahahah

  • @MusaYmc
    @MusaYmc 5 лет назад +2

    ty mr.saint, u are the best!

  • @k.sshankar7821
    @k.sshankar7821 4 года назад +1

    Thank you. This was very useful.

  • @iosifpuha6114
    @iosifpuha6114 2 года назад

    clearest man on earth probably.

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

    awesome explanations

  • @efeuzel1399
    @efeuzel1399 4 года назад

    Thank you. I couldn't understand indirect addressing fully until I watched this.

  • @mrboyban
    @mrboyban 3 года назад +1

    This channel is most regarded than a top UK uni. Many thanks

  • @rakoonberry7879
    @rakoonberry7879 3 года назад +2

    If only my professor was as good at explaining this as you are, smh. Keep it up :)

  • @mclacex1
    @mclacex1 5 месяцев назад +1

    Question!
    how do you know what addressing mode is being used by the opcode based on the bits ?
    i see that 2 bits are allocated to it but how do you know what mode it specifies? i been looking everywhere for a answer and im struggling to get one!

  • @arefazizpour9217
    @arefazizpour9217 4 года назад +1

    That was very clear and helpful
    Thank you sir.

  • @user-ew6dw8jh7l
    @user-ew6dw8jh7l 3 года назад +1

    Thanks ❤️❤️

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

    You are a life saver

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

    Thank you so much, Professor. It was great. May I have your power point slides?

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

    How is this channel not bigger

  • @abu-zaiter
    @abu-zaiter Год назад

    thank you sir

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

    Question: how did processors like the 6502 change addressing modes if they had no space in an instruction for addressing mode?

  • @user-dt2zm2sq4h
    @user-dt2zm2sq4h 4 года назад +1

    what is the size of a memory that can be accessed using
    immediate mode

  • @matthewmorrison2071
    @matthewmorrison2071 3 года назад +1

    This video helped a bunch thanks bro

  • @nandhiniselvaraj429
    @nandhiniselvaraj429 8 месяцев назад +1

    Super sir ❤

  • @ijazkhanniazi800
    @ijazkhanniazi800 3 года назад +1

    Thanks 😊

  • @vimukthaariyasinghe8041
    @vimukthaariyasinghe8041 4 года назад +1

    Super super super usefull....amazing

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

    I love you man

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

    thx

  • @icebeardoesnttalkmuch8919
    @icebeardoesnttalkmuch8919 2 года назад

    At 1:10 you said "Fewer bits for the operand code means that (Fewer memory locations can be accessed directly)" the part that i have written in brackets< what does it means, the term directly has always left me confusing like what is "directly"? Can you please explain that? Thanks.

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 года назад

      Perhaps the video I uploaded yesterday about RISC and CISC will help (link below). Suppose you have an instruction which adds a value to contents of the accumulator. The operand of the instruction could be the actual value you want to add, so ADD #25 means add the number 25 to the contents of the accumulator. This is called 'immediate addressing'. If however the operand was a memory address of a location in memory that contained the value to add, this is called 'direct addressing'. So ADD 25 means the value to add can be found in location 25. When I say "fewer memory locations can be accessed directly", I mean that fewer memory locations can be accessed with direct addressing.
      ruclips.net/video/6Rxade2nEjk/видео.html :)KD

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

    Excellent explanation, but one query I'm not sure about. In 6:10, you show that the value in the PC is 101, but you show the "BR +3" instruction at address 100. If that's the case, how does the PC read the instruction "BR +3" when it's at the previous address?

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

      The program counter stores the address of the next instruction to execute, which is in 101.
      The instruction currently being executed is at address 100.

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

      @@gnir6518 thank you!

  • @trixiemaya99
    @trixiemaya99 3 года назад

    How is register-direct mode is faster than immediate mode?

  • @wonderbuddy3204
    @wonderbuddy3204 2 года назад

    register direct addressing mode: if the operand is stored in a register, it is known as register direct addressing mode(FASTEST)
    register indirect addressing mode: if the register contains the MEMORY LOCATION of the value, it is known as register addressing mode.
    immediate addressing mode: when the operand of an instruction is the actual value to be operated on, it is known as immediate addressing mode
    direct addressing: if the operand is the memory address that contains the value to be operated on, it is known as direct addressing
    indirect addressing mode: if the operand is a memory address of the LOCATION that contains the memory address, it is known as indirect addressing mode(memory has to be accessed TWICE)
    * NOTE: accessing the memory is more time consuming than accessing registers

  • @Decco6306
    @Decco6306 3 года назад

    IM going to guess you are referring to the MIPS archetecture

  • @Ensign_Cthulhu
    @Ensign_Cthulhu 4 года назад +1

    Questions:
    1) What sort of computer might we be carrying these instructions out on?
    2) WHY is register-direct addressing faster than going to the memory? Are the registers themselves not RAM in their own particular way? Or does it change things in that they are on the main processor chip?
    3) What are the factors that would make you choose one particular method over the others, especially if it comes with downsides?

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

      (Answer to 2)
      Basically because the ALU cannot directly connect with the memory and would need the Memory Data Register in between to do the Data Transfer.

  • @jimmydarkful
    @jimmydarkful 4 года назад +1

    fantastic

  • @MOMO-YYDS
    @MOMO-YYDS 9 месяцев назад

  • @thatchapthere
    @thatchapthere 4 года назад +10

    Sounds like the voice of Thomas the Tank Engine.

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 года назад

      Wasn't that narrated by Ringo Star - from Liverpool. :)KD

    • @thatchapthere
      @thatchapthere 4 года назад

      @@ComputerScienceLessons Yep you sound like him

  • @sababugs1125
    @sababugs1125 3 года назад

    How does the processor know what is data and what is an operation ?

    • @icebeardoesnttalkmuch8919
      @icebeardoesnttalkmuch8919 2 года назад

      a few bits are reserved one or two tell the processor that if the contents fetched are to be treated as an actual value or as an address value

  • @greekmotivation589
    @greekmotivation589 3 года назад

    are you not accessing memory when fetching nr 100 aswell? Won't indirect access memory 3 times

  • @kolibri5861
    @kolibri5861 3 года назад +2

    where are your references please?

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

    Von Neumann or Harvard architecture portrayed here?

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

      This is Von Neumann. I have covered Harvard in this video ruclips.net/video/4nY7mNHLrLk/видео.html :)KD

  • @saganandroid4175
    @saganandroid4175 2 года назад

    Your title fails to identify which processor you are talking about. ARM? 6502? 680X0? X86? PowerPC?

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 года назад

      I wanted to stick with generic concepts :)KD

    • @saganandroid4175
      @saganandroid4175 2 года назад

      @@ComputerScienceLessons that's absurd. Instructions and address modes are specific to each processor family. And when very similar instructions do exist, the mnemonic names and register names will differ.

  • @6thex6663s
    @6thex6663s 3 года назад

    foreign jay z teaches computer architecture

    • @6thex6663s
      @6thex6663s 3 года назад +1

      thanks for the video tho helped a lot

    • @ComputerScienceLessons
      @ComputerScienceLessons  3 года назад

      "I believe you can speak things into existence." jay-z :)KD

  • @sida_g567
    @sida_g567 3 года назад +1

    lets get lost tonight

    • @ComputerScienceLessons
      @ComputerScienceLessons  3 года назад +1

      ?

    • @sida_g567
      @sida_g567 3 года назад +1

      @@ComputerScienceLessons getting high with asm i downloaded nasm in wsl pretty cool stuff loadin some register and shit trippin bruh