Memory: Add CDP and MRC/MCR.
[firearm.git] / Decode.v
index a34eb3b..b58951a 100644 (file)
--- a/Decode.v
+++ b/Decode.v
@@ -171,6 +171,7 @@ module Decode(
                begin
                        read_0 = insn[19:16]; /* Rn */
                        read_1 = insn[3:0];   /* Rm */
+                       read_2 = insn[15:12];
                        
                        op0_out = regs0;
                        if(insn[25]) begin
@@ -180,6 +181,7 @@ module Decode(
                                op1_out = shift_res;
                                carry_out = shift_cflag_out;
                        end
+                       op2_out = regs2;
                end
                `DECODE_LDMSTM:         /* Block data transfer */
                begin
This page took 0.016041 seconds and 4 git commands to generate.