Pointers in RISC-V Assembly

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

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

  • @Nick-xp8xd
    @Nick-xp8xd 9 месяцев назад +17

    Only this video preview is the best pointers explanations I have seen before 😂

    • @aaatt268
      @aaatt268 Месяц назад +1

      Just came to say this. This made me believe I have the chance at understanding wtf a pointer is.

  • @AlexanderPrussak
    @AlexanderPrussak 10 месяцев назад +15

    Your production is incredible, these are so many lain references

  • @ThiagoSTeixeir4
    @ThiagoSTeixeir4 Год назад +72

    Lol i love the thumbnail

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

      same it's funny as

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

      lmao came here just to say that

    • @zSnowzmanz
      @zSnowzmanz 5 месяцев назад

      int **

    • @jc-aguilar
      @jc-aguilar 5 месяцев назад

      Me too 🤣

  • @bass9112
    @bass9112 Год назад +6

    THANK YOU SO MUCH FOR THE VIDEOOOO, i'm so obsessed with risc-v atm 😭😭😭😭😭

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

      Same! I wanna learn how to make game emulators using it.

  • @atoomnet
    @atoomnet 8 месяцев назад +4

    Adding '#pragma GCC optimize ("O0")' to the beginning of the c-code of the risc-v simulator seems to convince it to not optimize away your example.

  • @lupusthelupus
    @lupusthelupus Год назад +4

    You have such a great channel.

  • @spellboundfeline
    @spellboundfeline Год назад +6

    Amazing content like always!

  • @MistereXMachina
    @MistereXMachina Год назад +3

    ok so my stumbling upon this content is really fortuitous because I know very little about programming, but have decided to learn C and MIPS asm for the R3000 the PS1 used so I can learn to decompile Megaman Legends and Serial Experiments Lain for PS1. I don't know if you have any playstation reverse engineering stuff in the pipeline but I would absolutely LOVE that, as this is a bit overwhelming at first!

    • @anon_y_mousse
      @anon_y_mousse 11 месяцев назад +3

      Are you writing a PS1 emulator to aid with disassembly? If not, I'd advise you to start there, because you could step through the code as it's running. If you don't want to write one yourself, then consider using one of the numerous open source PS1 emulators as a starting point. I would recommend PCSX-ReARMed, as I found its source code rather easy to navigate when I used it on my Raspberry Pi and had to modify it to work with my controller.

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

    Interesting the convention for RISC-V.

  • @naelpontes8444
    @naelpontes8444 10 месяцев назад +2

    I'm really curious as to why RISC-V Assembly separates the addresses into "upper" high-order bits (most significant part) versus the low-order bits (the least significant part). Is it related to WORD alignment, I wonder?
    Also, is this unique to RISC-V or other Assembly languages do it too...?

    • @GoatZilla
      @GoatZilla 10 месяцев назад +3

      Because you can't fit 32 bits of immediate into an instruction that itself is 32 bits long. You'd have no space for the actual instruction encoding. The interesting thing is the split at 20 bits, which means if your data section is 4k aligned/sized then really you only need to load the upper bits once and then only need to load the lower whenever you change locations.

  • @Zjk580
    @Zjk580 5 месяцев назад

    16:06 top 2 favorite kinds of dogs! Plus, cowboy bebop is a top 10 anime as well lol

  • @noctiflorous1337
    @noctiflorous1337 Год назад +4

    clicked on the video and insta-liked because of the preview alone.
    thanks for the great content as always, though.

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

      @johnose9326 you mean Anya from IGI's mission director, right!? :D

  • @dezashibi
    @dezashibi 5 месяцев назад

    Hey 👋 can you create a separate playlist for RISC-V assembly as well, I want to start watching all from the beginning and it would be so much helpful and appreciated, thanks 😊

  • @RadovanWagner
    @RadovanWagner 7 месяцев назад

    Thank you, great video !

  • @67abhijeetbhor4
    @67abhijeetbhor4 Год назад

    Beginning of video is horror but inside lot of knowledge we get

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

      vstspeak my beloved 😂

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

    wow, what version of windows do you use? It looks like super old version?

    • @aprilzhao5212
      @aprilzhao5212 7 месяцев назад +1

      seems gentoo

    • @psi4j
      @psi4j 5 месяцев назад

      Lol she’s running Linux with a custom bar that just looks like Windows XP I think.

    • @guigomez3441
      @guigomez3441 5 месяцев назад

      @@psi4j ok cool

  • @sigfyg8384
    @sigfyg8384 10 месяцев назад

    Great explanation!

  • @flopasen
    @flopasen Год назад +5

    im not 32 years old i'm 20 + 12!!!

  • @GoatZilla
    @GoatZilla 10 месяцев назад

    Interesting they split the load immediate into 20 and 12. Someone was thinking about paging...

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

    Excellent as always👏👏

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

    love your videos

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

    'int that the way

  • @yawa-ayura
    @yawa-ayura Год назад

    good thumbnail

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

    Wtf am i doing here, I'm just a web developer.
    I guess the thumbnail did the job.

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

    i like ur channel. ur funny.

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

    I like the voice❤

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

    Thumbnail>>

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

    actual asmr

  • @johnmckown1267
    @johnmckown1267 3 месяца назад

    lui zeros the other bits in the register to 0, I guess.

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

    This Video is super cool!

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

      Didn't expect you here! Fellow 42 student

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

      I just followed the pointers, like u fellow haha @@cubernetes

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

      Badumtssssss

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

      yeah, nerdy sarcasm is the worst@@cubernetes

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

    Normally I can't stand youtubers sticking their dumb faces in dumb expressions on all their dumb thumbnails, but this is accurate

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

    Such a cute voice

  • @mr.sunshine1444
    @mr.sunshine1444 Год назад

    no soy face for the thumbnail? it would have been perfect!

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

    based anya thumbnail

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

    Real programmers use Notepad++ 😉

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

    U so cute

  • @sulfasolate
    @sulfasolate Год назад +2

    why do you copy other peoples thumbnails?