Assembly x86-64 Tutorial: Swapping Array Elements in Intel Syntax on Ubuntu Linux (Lesson 9)

Publicado em: 23 Agosto 2024
no canal de: Software Nuggets
592
16

Learn how to swap two elements in an array using x86-64 Assembly language with Intel syntax on Ubuntu Linux. This comprehensive tutorial (Lesson 9) covers:

Calling external C functions (printf)
Subroutine implementation and calling
Stack management
Accessing elements in a 64-bit array
Using NASM assembler and GCC compiler
how to find offset address in assembly language
what is offset in assembly language
Access List object from assembly code
swap elements in array assembly language

Perfect for beginners and intermediate programmers looking to master low-level programming. Follow along as we build a practical example from scratch!

@softwareNuggets, #softwarenuggets
⏱️ Timestamps:
---------------------------------
00:00 Intro to Software Nuggets "hey team"
00:02 Show how to program will work
00:16 define main, extern printf
00:59 section .data, define variables
03:57 section .text, define main function
06:37 write show_nums subroutine
11:31 write swap_nums - swap two numbers in the list
16:20 print "after_swap" and updated list of numbers
17:29 how to use NASM and GCC -- build executable


Nesta página do site você pode assistir ao vídeo on-line Assembly x86-64 Tutorial: Swapping Array Elements in Intel Syntax on Ubuntu Linux (Lesson 9) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Software Nuggets 23 Agosto 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 592 vezes e gostou 16 espectadores. Boa visualização!