Skip to content

Comments

Fix endianness.asm#97

Open
nibblerenush wants to merge 1 commit intoApress:masterfrom
nibblerenush:fix_endianness.asm
Open

Fix endianness.asm#97
nibblerenush wants to merge 1 commit intoApress:masterfrom
nibblerenush:fix_endianness.asm

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