From dd1026f71a85d60759f94f58b309ad800661da19 Mon Sep 17 00:00:00 2001 From: John Winans Date: Mon, 19 Oct 2020 14:59:39 -0500 Subject: [PATCH] Correct lh to lw in code lw example. --- book/rv32/chapter.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/rv32/chapter.tex b/book/rv32/chapter.tex index 796b969..8607a18 100644 --- a/book/rv32/chapter.tex +++ b/book/rv32/chapter.tex @@ -746,7 +746,7 @@ of \verb@rs1@ and \verb@imm_i@. For example, given the memory contents shown in \autoref{Figure:imm:memory:dump}, if register \verb@x13@ = \verb@0x00002650@ then the instruction -\verb@lh x12,-4(x13)@ will set \verb@x12@ to the value \verb@4307a503@. +\verb@lw x12,-4(x13)@ will set \verb@x12@ to the value \verb@4307a503@. \item\instructionHeader{ori\ \ \ rd,rs1,imm}