Merge pull request #7 from vazhnov/Fix_typo_register

Fix a typo in chapter "4.2.4 Adding a 12-bit Signed Value": t1 → t0
This commit is contained in:
John Winans 2023-06-12 06:45:43 -05:00 committed by GitHub
commit 43fe02e83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ For example, to set \reg{t3} to zero:
{\small
\begin{verbatim}
addi t0, zero, 4 # t0 = 4
addi t1, t1, 100 # t1 = 104
addi t0, t0, 100 # t0 = 104
addi t0, zero, 0x123 # t0 = 0x123
addi t0, t0, 0xfff # t0 = 0x122 (subtract 1)