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

Publié le: 23 août 2024
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Assembly x86-64 Tutorial: Swapping Array Elements in Intel Syntax on Ubuntu Linux (Lesson 9) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Software Nuggets 23 août 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 592 fois et il a aimé 16 téléspectateurs. Bon visionnage!