switching to nasm, yasm is dead from what I can tell, not caring about perf diff anymore.

This commit is contained in:
2025-06-15 18:37:40 -04:00
parent 032e91a81f
commit b1b401784a
9 changed files with 29 additions and 14 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
package asmd // ASM Duffle
package asmduff // ASM Duffle
@@ -2,17 +2,18 @@
BITS 64 ; Explicitly specify 64-bit mode
DEFAULT REL ; Use RIP-relative addressing by default
extern ExitProcess ; Import Windows API functions
extern GetStdHandle
extern WriteConsoleA
; Data section
section .data
message db "Hello, x86-64 ASM!", 13, 10, 0 ; String with CRLF and null terminator
message db "Hello, NASM!", 13, 10, 0 ; String with CRLF and null terminator
message_len equ $ - message ; Calculate string length
; Code section
section .text
global main ; Export main symbol for linker
extern ExitProcess ; Import Windows API functions
extern GetStdHandle
extern WriteConsoleA
main:
; Function prologue
+18 -1
View File
@@ -1,4 +1,21 @@
package asmd
package asmduff
section_data :: proc()
{
}
section_text :: proc()
{
}
section_externs :: proc()
{
}
main :: proc()
{
+2 -2
View File
@@ -1,3 +1,3 @@
package asmd
package asmduff
import
+2
View File
@@ -0,0 +1,2 @@
$nasm = 'nasm'
& $nasm -help
+1
View File
@@ -0,0 +1 @@
$nams
-5
View File
@@ -4,8 +4,3 @@
Repo: https://github.com/Ed94/gencpp.git
Commit: 685bba36d5ed64b48908c950fbbb7f1dbb297120
## YASM
Repo: https://github.com/yasm/yasm.git
Commit: 121ab150b3577b666c79a79f4a511798d7ad2432
Submodule toolchain/yasm deleted from 121ab150b3