From c33a86fc137f8b15fc907a69ea428ba39c6c1fba Mon Sep 17 00:00:00 2001 From: Alexey Vazhnov Date: Wed, 5 Apr 2023 00:09:24 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20a=20typo=20in=20chapter=20"4.2.4=20Adding?= =?UTF-8?q?=20a=2012-bit=20Signed=20Value":=20t1=20=E2=86=92=20t0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- book/programs/chapter.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/programs/chapter.tex b/book/programs/chapter.tex index fb79523..ab4b7e1 100644 --- a/book/programs/chapter.tex +++ b/book/programs/chapter.tex @@ -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)