Menu
Coddy logo textTech

Planning the Program

Part of the Fundamentals section of Coddy's Assembly journey — lesson 43 of 45.

You have learned all the pieces: data definition, MOV instructions, exit syscall, and write syscall. Now it is time to put everything together to write a complete "Hello, World!" program from scratch.

Before writing any code, you need a plan.

The four steps to print "Hello, World!":

StepWhat to doWhich chapter taught this
1Create the .data section with the stringChapter 3
2Calculate the string length automaticallyChapter 3
3Set up and call the write syscallChapter 5
4Set up and call the exit syscallChapter 4

In the next lessons, you will write each part step by step, then put them all together.

Try it yourself

This lesson doesn't include a code challenge.

quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals