Why did I learn Assembly Programming

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

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

  • @mytechnotalent
    @mytechnotalent 11 месяцев назад +1

    Love your channel and would love to see a comprehensive RISCV Assembler series as I grew up with my first language in 6502 Assembler as a kid and then learned C and others later.

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

    I learned it just for fun at home first on C64 and then on DOS debug x86 assembly, all without internet.

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

    Gay.
    Seriously though, I would like to get back into ASM as well. I just did a little at the university basically. Where would I start? I too would go the arm route since I have those lying around here. Did you like read a book or 12 or did you just jump into it?

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

      I found a tutorial online for GCC/as assembler online (but it wasn't great) but gave me enough knowledge to get started. There are better tutorials nowadays. One trick I use, and I mentioned it in one of my Risc-v assembly videos is to use the -S switch on the GCC compiler and it will output assembly. So I would write a simple Hello World program in C the compile it with the -S flag and the study the resulting assembly code. It does optimization but it is enough to give you a leg up. In addition the ARM website has a super set of documentation with all the assembly language instructions. Then finally I got help from the kind folks on stack exchange.

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

      @@Rick62820 Thanks a bunch. I'll look around what I can find.

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

      @@callisoncaffrey I dug through some of the links I had and posted them below.
      ARM offers a free online course called "Getting Started with Arm Assembly Language" that is a great place to start: developer.arm.com/documentation/107829/latest/Assembly-language-basics
      FreeCodeCamp has a tutorial which covers the basics of assembly language programming, the ARM architecture, and how to write simple ARM assembly programs: www.freecodecamp.org/news/learn-assembly-language-programming-with-arm/
      The University of Cambridge has a free online course on ARM assembly language programming. The course is taught by Professor Simon Moore, and it covers the basics of assembly language programming, the ARM architecture, and how to write simple ARM assembly programs: m.ruclips.net/video/gfmRrPjnEw4/видео.html
      Ghidra: Ghidra is a free and open-source software reverse engineering tool that can be used to disassemble ARM assembly language code. This can be a helpful way to learn how ARM assembly language programs work.
      I hope this helps!

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

      @@Rick62820 No Ghidra for OpenBSD. Though I think I have enough content with the links you gave me.
      Thanks again.

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

      Mhm i have zero knowledge about ARM CPU. I use a DosBox emulator app on my android tablet. In DosBox we can control a lot of hardware components with x86 assembly 80386/80387 for 32 bit CPU/FPU complex instruction set. Intel developer manuals and documentation from AMD are online. Table with interrupt numbers online (for many bios and DOS function) based on Ralph Browns Interrupt List html version.