Skip to content

Conversation

@nibblerenush
Copy link

Compiling the code in this file results in a "Segmentation fault (core dumped)" error:

nasm -felf64 ./endianness.asm -o endianness.o && ld -o endianness ./endianness.o
./endianness
Segmentation fault (core dumped)

After fix:

nasm -felf64 ./endianness.asm -o endianness.o && ld -o endianness ./endianness.o
./endianness
1122334455667788
8877665544332211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant