Funny Wolfie Smilies Added !!! :Blep:

x86_64 Assembly

Programming, hardware, software, etc. Anything to do with the nitty-gritty of computers goes here.
Post Reply
User avatar
zero
Site Admin
Posts: 22
Joined: Sun Mar 22, 2026 10:38 pm
Location: United States
Pronouns: Any
Contact:

x86_64 Assembly

Post by zero »

Alongside C++ I am learning assembly, specifically for x86. I want to learn RISC-V assembly as well but at the moment it wouldn't be very practical as i do not have any devices with a RISC-V processor, but i plan on using one for a prototype eventually.

Funny enough, assembly isn't that hard. I actually have an easier time understanding calls.

I can print to the terminal.

Code: Select all

.global _start
.intel_syntax noprefix

_start:
        // sys_write
        mov rax, 1
        mov rdi, 1
        lea rsi, [hello_world]
        mov rdx, 39
        syscall
        
        // sys_exit
        mov rax, 60
        mov rdi, 69
        syscall

hello_world:
        .asciz "The application executed successfully.\n"
Try it!

If you want to discuss assembly or learn with me feel free :Wolf:
[Zero, Null, Jas, Clair, Hyacinth, Hyphen]
"genius. it creates energy clones of itself to gather resources, while the main body stays alert and safe. and if i attack, it can simply swap bodies with one of its clones."
Post Reply