Question
Sign extension
same number, more bits
Replicate [...] to the left
RISC-V:
lb (load byte): sign-extend loaded byte (byte interpreted as 2's-complement)
lbu (load byte unsigned): zero-extend loaded byte
addi (add immediate): sign-extend 12-bit immediate (immediate interpreted as 2's complement)
Question
Sign extension
same number, more bits
Replicate [...] to the left
RISC-V:
lb (load byte): sign-extend loaded byte (byte interpreted as 2's-complement)
lbu (load byte unsigned): zero-extend loaded byte
addi (add immediate): sign-extend 12-bit immediate (immediate interpreted as 2's complement)
Question
Sign extension
same number, more bits
Replicate [...] to the left
RISC-V:
lb (load byte): sign-extend loaded byte (byte interpreted as 2's-complement)
lbu (load byte unsigned): zero-extend loaded byte
addi (add immediate): sign-extend 12-bit immediate (immediate interpreted as 2's complement)
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation Open it Sign extension same number, more bits Replicate sign bit to the left RISC-V: lb (load byte): sign-extend loaded byte (byte interpreted as 2's-complement) lbu (load byte unsigned): zero-extend loaded byte addi (add immediate): sign-extend 12-b Original toplevel document (pdf) owner:
pavestonelaboringuntitled - (no access) - 04 Instructions-language of the computer.pdf, p26
Summary status not learned measured difficulty 37% [default] last interval [days] repetition number in this series 0 memorised on scheduled repetition scheduled repetition interval last repetition or drill
Details No repetitions
Add new event manually