Menu
Coddy logo textTech

Recap: Write Setup

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

challenge icon

Challenge

Write a complete program that prints:

<code>Start

<code>Middle

End

Each word on its own line. Use three separate strings and three write syscalls.

The exit syscall must be included.

Try it yourself

section .data
    ; TODO: Define three strings with newlines
    ; TODO: Define their lengths

section .text
    global _start

_start:
    ; TODO: Print the lines listed in the instructions, one per TODO, in order
    ; TODO: Print the lines listed in the instructions, one per TODO, in order
    ; TODO: Print the exact text from the instructions

    ; TODO: Exit cleanly

All lessons in Fundamentals