From 978ef14fb58c40fca5f1be27e5687595d1447f5b Mon Sep 17 00:00:00 2001 From: Perry Kivolowitz Date: Fri, 10 Jun 2022 03:42:51 -0500 Subject: [PATCH] gave up on chapter designations in the chapters --- README.md | 24 +++++++++++++++--------- section_1/fizzbuzz/README.md | 2 +- section_1/for/README.md | 2 +- section_1/funcs/README.md | 2 +- section_1/funcs/README2.md | 2 +- section_1/hello_world/README.md | 2 +- section_1/if/README.md | 2 +- section_1/regs/README.md | 2 +- section_1/regs/ldr.md | 2 +- section_1/while/README.md | 2 +- 10 files changed, 24 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 97c80d7..684dfc0 100644 --- a/README.md +++ b/README.md @@ -45,16 +45,22 @@ the 64 bit ARM Instruction Set Architecture (ISA). | 1 | [Hello World](./section_1/hello_world/README.md) | | 2 | [If Statements](./section_1/if/README.md) | | 3 | Loops | -| 3 a | [....While Loops](./section_1/while/README.md) | -| 3 b | [....For Loops](./section_1/for/README.md) | -| 3 c | [....Implementing Continue](./section_1/for/README.md#implementing-a-continue) -| 3 d | [....Implementing Break](./section_1/for/README.md#implementing-a-break) +| 3 a | [.... While Loops](./section_1/while/README.md) | +| 3 b | [.... For Loops](./section_1/for/README.md) | +| 3 c | [.... Implementing Continue](./section_1/for/README.md#implementing-a-continue) +| 3 d | [.... Implementing Break](./section_1/for/README.md#implementing-a-break) | 4 | Interludes | -| 4 a | [....Registers](./section_1/regs/README.md) | -| 4 b | [....Load and Store](./section_1/regs/ldr.md) | -| 5 | [Calling and Returning From Functions](./section_1/funcs/README.md) | -| 6 | [Passing Parameters To Functions](./section_1/funcs/README2.md) | -| 7 | [FizzBuzz - a Complete Program](./section_1/fizzbuzz/README.md) | +| 4 a | [.... Registers](./section_1/regs/README.md) | +| 4 b | [.... Load and Store](./section_1/regs/ldr.md) | +| 5 | Functions | +| 5 a | [.... Calling and Returning](./section_1/funcs/README.md) | +| 5 b | [.... Passing Parameters](./section_1/funcs/README2.md) | +| 6 | [FizzBuzz - a Complete Program](./section_1/fizzbuzz/README.md) | +| 7 | Structs | +| 7 a | [.... Alignment](./section_1/structs/alignment.md) | +| 7 b | [.... Defining](./section_1/structs/defining.md) | +| 7 c | [.... Using](./section_1/structs/using.md) | +| 8 | [Casting](./section_1/casting/README.md) | ## Section 2 - Stuff diff --git a/section_1/fizzbuzz/README.md b/section_1/fizzbuzz/README.md index 57848a4..196552d 100644 --- a/section_1/fizzbuzz/README.md +++ b/section_1/fizzbuzz/README.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 7 / FizzBuzz +# FizzBuzz In this chapter we build the classic tech interview question: FizzBuzz. diff --git a/section_1/for/README.md b/section_1/for/README.md index 5361658..32fb643 100644 --- a/section_1/for/README.md +++ b/section_1/for/README.md @@ -1,4 +1,4 @@ -# Section 1 / Chapters 3 b, c and d / For Loops, Continue and Break +# For Loops, Continue and Break ## Overview diff --git a/section_1/funcs/README.md b/section_1/funcs/README.md index d5d3fc9..2547bea 100644 --- a/section_1/funcs/README.md +++ b/section_1/funcs/README.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 5 / Calling and Returning From Functions +# Calling and Returning From Functions Calling functions, passing parameters to them and receiving back return values is basic to using `C` and and `C++`. Calling methods (which are functions connected to classes) is similar but with enough differences to warrant its own discussion to be provided later in the chapter on [structs](../struct/structs.md). diff --git a/section_1/funcs/README2.md b/section_1/funcs/README2.md index 2c29984..96a8baa 100644 --- a/section_1/funcs/README2.md +++ b/section_1/funcs/README2.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 6 / Passing Parameters To Functions +# Passing Parameters To Functions Up to 8 parameters can be passed directly via registers. Each parameter can be up to the size of an address, long or double (8 bytes). If you need to pass more than 8 parameters or you need to pass parameters which are larger than 8 bytes or are `structs`, you would use a different technique described later. diff --git a/section_1/hello_world/README.md b/section_1/hello_world/README.md index a9aca9a..0480cb4 100644 --- a/section_1/hello_world/README.md +++ b/section_1/hello_world/README.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 1 / Hello World +# Hello World ## Overview diff --git a/section_1/if/README.md b/section_1/if/README.md index 082ad4a..a9fc8eb 100644 --- a/section_1/if/README.md +++ b/section_1/if/README.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 2 / The `if` Statement +# The `if` Statement We will begin with the `if` statement followed by a discussion of the `if / else`. diff --git a/section_1/regs/README.md b/section_1/regs/README.md index 0ad2bf9..ef41068 100644 --- a/section_1/regs/README.md +++ b/section_1/regs/README.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 4 a / Interlude - Registers +# Interlude - Registers We have discussed and used registers in the previous chapters without explanation. This chapter introduces the concept of registers and explains why registers are critical. diff --git a/section_1/regs/ldr.md b/section_1/regs/ldr.md index 2089c46..5e7f36e 100644 --- a/section_1/regs/ldr.md +++ b/section_1/regs/ldr.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 4 b / Interlude - Load and Store +# Interlude - Load and Store In this section we will review the `ldr` and `str` families of instructions. diff --git a/section_1/while/README.md b/section_1/while/README.md index eaa5d6d..4ea006c 100644 --- a/section_1/while/README.md +++ b/section_1/while/README.md @@ -1,4 +1,4 @@ -# Section 1 / Chapter 3 a / While Loops +# While Loops ## Overview