[video member=miotatsu stream_platform=twitch project=riscy title="Studying RISC-V Instruction Encoding" vod_platform=youtube id=kBeYYDFlmmA annotator=Miblo] [0:33][Recap and set the stage for the day] [1:22][Note that immediates are packed into 5 bits[ref site=RISC-V page="User-Level ISA Specification v2.1" url=https://riscv.org/specifications]] [2:21][Determine to study the encoding of the instructions] [3:33][Read about the Instruction Length Encoding in the User-Level ISA Specification][:research] [5:53][Instruction Encoding][:blackboard :research] [10:01][Consult the diagram of RISC-V instruction length encoding][:research] [10:56][The 32-bit instruction space][:blackboard :research] [14:39][:Research the Base Instruction Formats] [16:34][R-type instruction format][:blackboard :research] [23:15][I-type instruction format][:blackboard :research] [24:33][S-type instruction format][:blackboard :research] [27:09][U-type instruction format][:blackboard :research] [29:07][Read on about the base instruction formats][:research] [35:26][Read about Immediate Encoding Variants][:research] [42:13][How the bits of the immediates are split across the instruction][:research] [49:12][SB-type is a 12-bit immediate shifted one place to the left][:research] [50:26][:Research sign extension[ref site=Wikipedia page="Sign extension" url=https://en.wikipedia.org/wiki/Sign_extension]] [56:26][A few words on using two's complement[ref site=Wikipedia page="Two's complement" url=https://en.wikipedia.org/wiki/Two's_complement] in Minecraft] [59:17][We are out of time for today, with a confirmation that the poll[ref site=Twitter page="Poll: Should I hire an artist to make better thumbnails for my content?" url=https://twitter.com/hmn_riscy/status/833911733752385536] decided we will not hire an artist] [/video]