Skip to content

Adding an Assembly Version #9

@JannesAlthoff

Description

@JannesAlthoff

Adding an assembly version as a base benchmark would be nice. I've attached a Assembly Version for x86 assembly, which is slightly better then gcc-musl.

.global _start

.text
_start:
    # Call Write
    movq $1, %rax 
    movq $1, %rdi 
    movq $msg, %rsi 
    movq $13, %rdx 
    syscall

    # Call sys_exit
    movq $60, %rax
    movq $0, %rdi
    syscall

.data
msg:
    .ascii "Hello World!\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions