git: ebe2d2cd7a - main - arch-handbook/boot: Add missing space between phrases

From: Danilo G. Baio <dbaio_at_FreeBSD.org>
Date: Thu, 18 Jan 2024 01:05:30 UTC
The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/doc/commit/?id=ebe2d2cd7a6b02fecaf2d37e164fcd8e857a5648

commit ebe2d2cd7a6b02fecaf2d37e164fcd8e857a5648
Author:     rilysh <nightquick@proton.me>
AuthorDate: 2024-01-03 04:47:50 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2024-01-18 00:54:02 +0000

    arch-handbook/boot: Add missing space between phrases
    
    Reviewed by:    Mina Galić <freebsd@igalic.co>
    Pull Request:   https://github.com/freebsd/freebsd-doc/pull/320
    Signed-off-by:  rilysh <nightquick@proton.me>
---
 documentation/content/en/books/arch-handbook/boot/_index.adoc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/documentation/content/en/books/arch-handbook/boot/_index.adoc b/documentation/content/en/books/arch-handbook/boot/_index.adoc
index 75543a7e99..9f1eefae53 100644
--- a/documentation/content/en/books/arch-handbook/boot/_index.adoc
+++ b/documentation/content/en/books/arch-handbook/boot/_index.adoc
@@ -265,7 +265,7 @@ The next block is responsible for the relocation and subsequent jump to the relo
 
 [.programlisting]
 ....
-      movw %sp,%si	# Source
+      movw %sp,%si     # Source
       movw $start,%di		# Destination
       movw $0x100,%cx		# Word count
       rep			# Relocate
@@ -283,7 +283,8 @@ As [.filename]#boot0# is loaded by the BIOS to address `0x7C00`, it copies itsel
 The source address, `0x7c00`, is copied to register `%si`.
 The destination address, `0x600`, to register `%di`.
 The number of words to copy, `256` (the program's size = 512 bytes), is copied to register `%cx`.
-Next, the `rep` instruction repeats the instruction that follows, that is, `movsw`, the number of times dictated by the `%cx` register.The `movsw` instruction copies the word pointed to by `%si` to the address pointed to by `%di`.
+Next, the `rep` instruction repeats the instruction that follows, that is, `movsw`, the number of times dictated by the `%cx` register.
+The `movsw` instruction copies the word pointed to by `%si` to the address pointed to by `%di`.
 This is repeated another 255 times.
 On each repetition, both the source and destination registers, `%si` and `%di`, are incremented by one.
 Thus, upon completion of the 256-word (512-byte) copy, `%di` has the value `0x600`+`512`= `0x800`, and `%si` has the value `0x7c00`+`512`= `0x7e00`; we have thus completed the code _relocation_.
@@ -296,7 +297,8 @@ Now, `stosw` is executed 8 times.
 This instruction copies a `0` value to the address pointed to by the destination register (`%di`, which is `0x800`), and increments it.
 This is repeated another 7 times, so `%di` ends up with value `0x810`.
 Effectively, this clears the address range `0x800`-`0x80f`.
-This range is used as a (fake) partition table for writing the MBR back to disk.Finally, the sector field for the CHS addressing of this fake partition is given the value 1 and a jump is made to the main function from the relocated code.
+This range is used as a (fake) partition table for writing the MBR back to disk.
+Finally, the sector field for the CHS addressing of this fake partition is given the value 1 and a jump is made to the main function from the relocated code.
 Note that until this jump to the relocated code, any reference to an absolute address was avoided.
 
 The following code block tests whether the drive number provided by the BIOS should be used, or the one stored in [.filename]#boot0#.