Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Assembled: nasm -f elf blast_off.snasm -f elf blast_off.s
nasm -f elf blast_off.s
Linked: ld -m elf_i386 -s -o blast_off blast_off.old -m elf_i386 -s -o blast_off blast_off.o
ld -m elf_i386 -s -o blast_off blast_off.o
Assembled: nasm -f elf blast_off.s
Linked: ld -m elf_i386 -s -o blast_off blast_off.o
Assembler: NASM Architecture: x86(I believe)
I am fairly new to Assembly language programming and, for practice, I gave myself a problem.
The problem is to: count down from 10 and right after 1, say "Blast off!"
Here is my code:.
Output: 1098654321Blast off!
1098654321Blast off!
The problem is to count down from 10 and right after 1, say "Blast off!"
Here is my code:
I am fairly new to Assembly language programming and, for practice, I gave myself a problem: count down from 10 and right after 1, say "Blast off!".
Output:
(For those of you who can't test this, this outputs Output: 1098654321Blast off!
Assembled: nasm 10987654321Blast off!)-f elf blast_off.s
10987654321Blast off!
(For those of you who can't test this, this outputs: 10987654321Blast off!)