OpenCores
Issue List
Opcode 7e defective #1
Closed crina opened this issue about 17 years ago
crina commented about 17 years ago

Opcode 7e is implemented as "mov ,x,opr8a" but should be "mov ,x+,opr8a". Postincrementation is missing. Possible fix:

@@ -2038,6 +1931,7 @@ dataMux <= outHelp; addrMux <= addrTM; regPC <= regPC + 1;

  •            regHX <= regHX + 1; --Postincrement
                 mainFSM <= "0110";
               when x"80" | x"82" =>  -- RTI, RTT
                 regHX(7 downto 0) <= datain;
    @@ -2424,6 +2318,7 @@
riedelx commented about 17 years ago

Corrected opcode 0x7E added regHX <= regHX + 1;

Thank you

riedelx closed this about 17 years ago

Assignee
No one
Labels
Bug