Pointers in RISC-V Assembly

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025

ความคิดเห็น • 57

  • @Nick-xp8xd
    @Nick-xp8xd 11 หลายเดือนก่อน +18

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

    • @aaatt268
      @aaatt268 3 หลายเดือนก่อน +1

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

  • @AlexanderPrussak
    @AlexanderPrussak ปีที่แล้ว +16

    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 10 หลายเดือนก่อน +1

      lmao came here just to say that

    • @zSnowzmanz
      @zSnowzmanz 7 หลายเดือนก่อน

      int **

    • @jc-aguilar
      @jc-aguilar 7 หลายเดือนก่อน

      Me too 🤣

  • @bass9112
    @bass9112 ปีที่แล้ว +7

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

    • @naelpontes8444
      @naelpontes8444 ปีที่แล้ว +2

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

  • @spellboundfeline
    @spellboundfeline ปีที่แล้ว +6

    Amazing content like always!

  • @lupusthelupus
    @lupusthelupus ปีที่แล้ว +4

    You have such a great channel.

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

  • @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 ปีที่แล้ว +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.

  • @danielrunescape410
    @danielrunescape410 ปีที่แล้ว

    Excellent as always👏👏

  • @RadovanWagner
    @RadovanWagner 9 หลายเดือนก่อน

    Thank you, great video !

  • @mytechnotalent
    @mytechnotalent ปีที่แล้ว +1

    Interesting the convention for RISC-V.

  • @dezashibi
    @dezashibi 7 หลายเดือนก่อน +1

    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 😊

  • @sigfyg8384
    @sigfyg8384 ปีที่แล้ว

    Great explanation!

  • @atoomnet
    @atoomnet 10 หลายเดือนก่อน +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.

  • @Zjk580
    @Zjk580 7 หลายเดือนก่อน

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

  • @yada9231
    @yada9231 ปีที่แล้ว

    love your videos

  • @67abhijeetbhor4
    @67abhijeetbhor4 ปีที่แล้ว

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

    • @1fareast14
      @1fareast14 11 หลายเดือนก่อน

      vstspeak my beloved 😂

  • @beautifulmind684
    @beautifulmind684 6 หลายเดือนก่อน

    I like the voice❤

  • @naelpontes8444
    @naelpontes8444 ปีที่แล้ว +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 ปีที่แล้ว +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.

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

  • @ma2perdue
    @ma2perdue ปีที่แล้ว

    i like ur channel. ur funny.

  • @yawa-ayura
    @yawa-ayura ปีที่แล้ว

    good thumbnail

  • @trejohnson7677
    @trejohnson7677 ปีที่แล้ว

    actual asmr

  • @GoatZilla
    @GoatZilla ปีที่แล้ว

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

  • @guigomez3441
    @guigomez3441 ปีที่แล้ว +1

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

    • @aprilzhao5212
      @aprilzhao5212 9 หลายเดือนก่อน +1

      seems gentoo

    • @psi4j
      @psi4j 7 หลายเดือนก่อน +1

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

    • @guigomez3441
      @guigomez3441 7 หลายเดือนก่อน

      @@psi4j ok cool

  • @flopasen
    @flopasen ปีที่แล้ว +5

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

  • @daljeetbhati8353
    @daljeetbhati8353 ปีที่แล้ว

    Thumbnail>>

  • @Firebrand1100
    @Firebrand1100 ปีที่แล้ว +1

    based anya thumbnail

  • @Ad9911io
    @Ad9911io ปีที่แล้ว

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

  • @nonamedelete9132
    @nonamedelete9132 ปีที่แล้ว

    Such a cute voice

  • @BrianHenryIE
    @BrianHenryIE ปีที่แล้ว

    'int that the way

  • @johnmckown1267
    @johnmckown1267 5 หลายเดือนก่อน

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

  • @beecee793
    @beecee793 ปีที่แล้ว

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

  • @VivaLyaLibertyBibaLyaLiberty
    @VivaLyaLibertyBibaLyaLiberty ปีที่แล้ว

    U so cute

  • @mr.sunshine1444
    @mr.sunshine1444 ปีที่แล้ว

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

  • @Emslandkopfnuss
    @Emslandkopfnuss 6 หลายเดือนก่อน

    Real programmers use Notepad++ 😉

    • @johnmckown1267
      @johnmckown1267 5 หลายเดือนก่อน

      Old programmers use edlin!

    • @lyingcat9022
      @lyingcat9022 25 วันที่ผ่านมา +1

      Real programmers input raw binary machine code and data, manually on front panel IBM mainframes… and they load the entire OS without a paper printout, just purely from memory.

  • @sulfasolate
    @sulfasolate ปีที่แล้ว +2

    why do you copy other peoples thumbnails?