mirror of
https://github.com/johnwinans/rvalp.git
synced 2025-09-29 14:11:14 -04:00
Fix a typo in chapter "4.2.4 Adding a 12-bit Signed Value": t1 → t0
This commit is contained in:
parent
53209b567f
commit
c33a86fc13
@ -173,7 +173,7 @@ For example, to set \reg{t3} to zero:
|
|||||||
{\small
|
{\small
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
addi t0, zero, 4 # t0 = 4
|
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, zero, 0x123 # t0 = 0x123
|
||||||
addi t0, t0, 0xfff # t0 = 0x122 (subtract 1)
|
addi t0, t0, 0xfff # t0 = 0x122 (subtract 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user