From 5a0dbf47d115290e3a9005f6b5e6653de8e07336 Mon Sep 17 00:00:00 2001 From: darkress Date: Mon, 17 Apr 2023 15:12:52 +0200 Subject: [PATCH] Added CommandDecoder for CLRF, CRLW, COMF, DECF --- CommandDecoder.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CommandDecoder.java b/CommandDecoder.java index abebfb6..4241cdc 100644 --- a/CommandDecoder.java +++ b/CommandDecoder.java @@ -7,6 +7,18 @@ public class CommandDecoder //ADDWF(); } else if ((binaryInput & 0x3F00) == 0x500) { //ANDWF(); + } else if ((binaryInput & 0x7F00) == 0x3) + { + //CLRF(); + } else if ((binaryInput & 0x7F00) == 0x2) + { + //CLRW(); + } else if ((binaryInput & 0x3F00) == 0x900) + { + //COMF(); + } else if ((binaryInput & 0x3F00) == 0x300) + { + //DECF(); } } }