From c2b84cf76e11ec66610c6d7f3e373f7a548be023 Mon Sep 17 00:00:00 2001 From: Perry Kivolowitz Date: Mon, 20 Jun 2022 10:36:21 -0500 Subject: [PATCH] clarified that mov is a copy --- section_1/hello_world/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/section_1/hello_world/README.md b/section_1/hello_world/README.md index 0480cb4..d54e47b 100644 --- a/section_1/hello_world/README.md +++ b/section_1/hello_world/README.md @@ -483,6 +483,8 @@ mov x21, x1 can be read as `copy what is in x1 into x21`. I.e. read the register use from right to left. +The `mov` instruction doesn't *move* anything anywhere. It *copies*. + ## Line 6 This line contains the label `top`. The instruction that follows (the `ldr`) is stored at some address. The value of `top` is that address. The unconditional branch on `line 10` specifies `top` as the destination of the branch. You can think of `line 10` as the closing brace of the original while loop.