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

Publicado el: 23 agosto 2024
en el 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


En esta página del sitio puede ver el video en línea Assembly x86-64 Tutorial: Swapping Array Elements in Intel Syntax on Ubuntu Linux (Lesson 9) de Duración hora minuto segunda en buena calidad , que subió el usuario Software Nuggets 23 agosto 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 592 veces y le gustó 16 a los espectadores. Disfruta viendo!