pserey / risc-v-binary-translator

A simple translator for getting the RISC-V assembly instructions from binary or hex machine code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decode_S() não retorna valores esperados ou chamada não pede valores retornados

pserey opened this issue · comments

File "\risc-v-binary-translator\conv.py", line 35, in inst_decode
conteudos['imm_cycle_32'], conteudos['rs2'], conteudos['rs1'], conteudos['funct3'], conteudos['rd'], conteudos['imm_offset'], conteudos['opcode'] = decode_S(instruction)
ValueError: not enough values to unpack (expected 7, got 6)

resolver chamada em relação à instrução 00000000110100010010100000100011 que se traduz para sw a3, 16(sp)