2023-10-30 01:16:50 +01:00
|
|
|
# figASM64
|
2020-07-01 00:47:13 +02:00
|
|
|
|
2023-10-30 01:16:50 +01:00
|
|
|
La figa a 64bit รจ meglio
|
2020-07-01 00:47:13 +02:00
|
|
|
|
|
|
|
# Come faccio a compilare `figasm` da sorgente?
|
|
|
|
|
|
|
|
```bash
|
2023-10-30 01:37:05 +01:00
|
|
|
nasm -f elf64 -o figa.o figa.asm
|
2023-10-30 01:16:50 +01:00
|
|
|
ld figa.o -o figa
|
2020-07-01 00:57:46 +02:00
|
|
|
```
|
2023-10-30 01:37:05 +01:00
|
|
|
|
|
|
|
# Ma a me piace windows!!1
|
|
|
|
|
|
|
|
```cmd
|
|
|
|
nasm -f win64 -o figa.o figawin.asm
|
|
|
|
ld -o figa.exe figa.o -entry=Start --subsystem=console -lkernel32
|
|
|
|
```
|
2023-10-30 01:39:11 +01:00
|
|
|
|
|
|
|
Potrebbe essere necessario disattivare l'antivirus, a quanto pare a Windows Defender non piace la figa...
|