diff --git a/config.json b/config.json index 432fed7..cf85639 100644 --- a/config.json +++ b/config.json @@ -812,7 +812,7 @@ }, { "slug": "assemble", - "name": "assemble", + "name": "Assemble", "uuid": "17337704-ef28-490b-bbdd-f8e3f51e326b", "practices": [], "prerequisites": [], diff --git a/exercises/practice/assemble/.docs/instructions.md b/exercises/practice/assemble/.docs/instructions.md index 1b7760e..ecff7a7 100644 --- a/exercises/practice/assemble/.docs/instructions.md +++ b/exercises/practice/assemble/.docs/instructions.md @@ -1,6 +1,6 @@ # Instructions -In this exercise, you will define the syntax and execution model for a small assembly-like language inspired by the `x86-64` assembly language. +In this exercise, you will define the syntax and execution model for a small language inspired by the `x86-64` assembly language. The goal is to formalize how code is written, parsed, and executed within a constrained environment. @@ -41,7 +41,7 @@ Your language must support the following registers: Registers start with a default value of `0`, unless they are used to pass arguments to the function. -For example, in the following program, all registers have a value of `0` with the exception of `rdi`, which is initialized with `10`, and `rsi`. which is initialized with `-20`: +For example, in the following program, all registers have a value of `0` with the exception of `rdi`, which is initialized with `10`, and `rsi`, which is initialized with `-20`: ```lean program(10, -20) @@ -49,8 +49,10 @@ program(10, -20) The return value of the program is always stored in `rax`. -Note that register names are _case-insensitive_. +~~~~exercism/note +Register names are _case-insensitive_. This means that `rax`, `RAX` and `rAx` all refer to the same register. +~~~~ ## Assembly code @@ -70,10 +72,12 @@ Labels have the following syntax: