[-] lilypad@hexbear.net 5 points 3 weeks ago* (last edited 3 weeks ago)

Its not windows or NASM but this site has some 64 bit linux examples using gnu assembler (the gnu userland default assembler). You could probably find some examples for windows with nasm if you look around.

::: spoiler example code from the site

# ----------------------------------------------------------------------------------------
# Writes "Hello, World" to the console using only system calls. Runs on 64-bit Linux only.
# To assemble and run:
#
#     gcc -c hello.s && ld hello.o && ./a.out
#
# or
#
#     gcc -nostdlib hello.s && ./a.out
# ----------------------------------------------------------------------------------------

        .global _start

        .text
_start:
        # write(1, message, 13)
        mov     $1, %rax                # system call 1 is write
        mov     $1, %rdi                # file handle 1 is stdout
        mov     $message, %rsi          # address of string to output
        mov     $13, %rdx               # number of bytes
        syscall                         # invoke operating system to do the write

        # exit(0)
        mov     $60, %rax               # system call 60 is exit
        xor     %rdi, %rdi              # we want return code 0
        syscall                         # invoke operating system to exit
message:
        .ascii  "Hello, world\n"
[-] lilypad@hexbear.net 5 points 3 weeks ago

Half the convos in the trans mega come to mind. From supporting and listening to each other, to talking about fun queer games, to heavy flirting, and of course accelerating each others gender ^^

[-] lilypad@hexbear.net 7 points 1 month ago

Go, do it, pull the trigger, shove my words right back at me ^^

[-] lilypad@hexbear.net 5 points 1 month ago

I miss the dark winters. The sun was gone for months on end, everyone was lowkey depressed, but we had such great times too, and the parties were pretty wonderful ngl ^^ then I moved and now its not dark in the winter anymore madeline-bruh

[-] lilypad@hexbear.net 5 points 1 month ago

Theres obama kush, so ykw i could absolutely see a future where she has a strain of pot named after her while she continues to oversee the imprisonment of people for posession sadness

[-] lilypad@hexbear.net 7 points 2 months ago

Actually it functions more like an exponent, gay^squared^

[-] lilypad@hexbear.net 7 points 3 months ago* (last edited 3 months ago)

Back in the age of dialup, horrid noises would erupt from the telephone should one lift it from its cradle while using the internet. After decades of peace, we return to this time of disruptive sound, as driverless cars communicate bits and bytes purely through honks.

[-] lilypad@hexbear.net 7 points 9 months ago

i-get-it nu skjønner æ. Æ tok feil da æ flytta hit. Kor mye e en hybel på svalbard? Altså, SP har ikkje drept alle ulvan så æ må jo lære mæ å skyte uansett, og da burde æ bo en plass der det e ordentlig behov for mine nylærte skytingsskills.

[-] lilypad@hexbear.net 4 points 10 months ago

Since no ones mentioned it yet, Super Tux Kart should work. Its available cross platform, and you can host LAN games if Im remembering right, and it should be fun for 30 minutes of pick up play.

[-] lilypad@hexbear.net 4 points 11 months ago* (last edited 11 months ago)
[-] lilypad@hexbear.net 6 points 1 year ago

Ld50 of cocaine is apparently ~96mg/kg, while fentanyl is ~18mg/kg, assuming an oral route for both.

view more: ‹ prev next ›

lilypad

joined 1 year ago