Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorH028 committed Jun 19, 2024
1 parent f9f75b6 commit e00b93d
Show file tree
Hide file tree
Showing 52 changed files with 13,886 additions and 21,259 deletions.
5 changes: 5 additions & 0 deletions .deb/i-haklab/home/.local/etc/i-Haklab/Tools/Readme/A/as.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Suponiendo que has guardado el código en un archivo llamado `write_syscall.s`, puedes ensamblarlo usando `as` (el ensamblador de GNU) de la siguiente manera:

```bash
as -o write_syscall.o write_syscall.s
```
7 changes: 7 additions & 0 deletions .deb/i-haklab/home/.local/etc/i-Haklab/Tools/Readme/L/ld.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

- `-m` : Establecer emulación de destino
- `-o` : Salida

```sh
ld -m <> <file.o> -o file
```
8 changes: 6 additions & 2 deletions .deb/i-haklab/home/.local/etc/i-Haklab/Tools/Readme/N/nasm.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

Crear un fichero fuente en lenguaje ensamblador
# Crear un fichero fuente en lenguaje ensamblador

- `-f` : Formato de salida
- `-o` : Nombre de salida

```sh
nasm -f elf64 hello.asm -o hello.o
ld hello.o -o hello

```
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Nos permite ver las llamadas a sistema
- Nos permite ver las llamadas a sistema
Empty file.
Loading

0 comments on commit e00b93d

Please sign in to comment.