Skip to content

Commit 8a17f8e

Browse files
authored
Note that CPU registers only contain integers
"Arbitrary data" was confusing to some.
1 parent 9423a51 commit 8a17f8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/part1/registers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ There are exceptions to this rule, like many other "rules" I will give in this t
4646
## General-purpose registers
4747

4848
CPU registers can be placed into two categories: *general-purpose* and *special-purpose*.
49-
A "general-purpose" register (<abbr title="General-Purpose Register">GPR</abbr> for short) can be used for storing arbitrary data.
50-
Some GPRs are special nonetheless, as we will see later; but the distinction is "can I store arbitrary data in it?".
49+
A "general-purpose" register (<abbr title="General-Purpose Register">GPR</abbr> for short) can be used for storing arbitrary integer numbers.
50+
Some GPRs are special nonetheless, as we will see later; but the distinction is "can I store arbitrary integers in it?".
5151

5252
I won't introduce special-purpose registers quite yet, as their purpose wouldn't make sense yet.
5353
Rather, they will be discussed as the relevant concepts are introduced.

0 commit comments

Comments
 (0)