rjiejie / XuanTie-doc

5 stars 1 forks source link

LWD instruction #2

Closed kosnox closed 2 years ago

kosnox commented 2 years ago

I have a problem with the LWD instruction. The mnemonic is not compatible with the opcode. Can you explain to me how it should look like correct?

Mnemonic: lwd rd, imm7(rs1) opcode: 11100 imm2 rd2 rs1 100 rd1 0001011

rjiejie commented 2 years ago

Thanks for your report :)

I checked internal description and it should be like the following:

lwd rd1,rd2,(rs1),imm2,3 11100 imm2 rd2 rs1 100 rd1 0001011

kosnox commented 2 years ago

ok, thank you for answer ;)