Skip to content

Commit fe1304f

Browse files
Bella MarieISSOtmavivace
authored
Improve instruction/directive wording (#41)
Co-authored-by: Eldred Habert <eldredhabert0@gmail.com> Co-authored-by: Antonio Vivace <avivace4@gmail.com>
1 parent c4dfa4a commit fe1304f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/part1/assembly.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ In any language, good comments are very useful; in assembly, they play an even m
2424
## Instructions
2525

2626
Assembly is a very line-based language.
27-
Each line can contain a *directive*, which instructs RGBASM to do something, or an *instruction*[^instr_directive], which is copied directly into the ROM.
27+
Each line can contain one of two things:
28+
- a *directive*, which instructs RGBASM to do something, or
29+
- an *instruction*[^instr_directive], which is written directly into the ROM.
30+
2831
We will talk about directives later, for now let's focus on instructions: for example, in the snippet above, we will ignore lines {{#line_no_of "^\s*INCLUDE" ../assets/hello-world.asm:basics}} (`INCLUDE`), {{#line_no_of "^\s*ds" ../assets/hello-world.asm:basics}} (`ds`), and {{#line_no_of "^\s*SECTION" ../assets/hello-world.asm:basics}} (`SECTION`).
2932

3033
To continue the cake-baking analogy even further, instructions are like steps in a recipe.

0 commit comments

Comments
 (0)