Lhu

基本介紹

  • 中文名:lhu
  • 指令格式:Lhu Rt,I(Rs)
  • 全稱:Load Half Word Unsigned
  • 所屬類別:彙編語言
精簡指令集合中讀/寫記憶體指令 Lhu--Load Half Word Unsigned
指令格式:Lhu Rt,I(Rs) Rt <- M(Rs+I)
sign extended immidiate. Two bytes from storage is
loaded into the 2 less significant bytes of Rt, other
bytes are set to zero.
在risc-v指令中,
lhu 為I類型,OPCODE: 0000011, FUNC3 101。
使用格式為:R[rd]={48'b0,M[R[rs1]+imm](15:0)}

相關詞條

熱門詞條

聯絡我們