summaryrefslogtreecommitdiffstats
path: root/src/de/fernflower/code/instructions/IF_ICMPGT.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/fernflower/code/instructions/IF_ICMPGT.java')
-rw-r--r--src/de/fernflower/code/instructions/IF_ICMPGT.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/de/fernflower/code/instructions/IF_ICMPGT.java b/src/de/fernflower/code/instructions/IF_ICMPGT.java
new file mode 100644
index 0000000..0a803b8
--- /dev/null
+++ b/src/de/fernflower/code/instructions/IF_ICMPGT.java
@@ -0,0 +1,19 @@
+package de.fernflower.code.instructions;
+
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import de.fernflower.code.JumpInstruction;
+
+public class IF_ICMPGT extends JumpInstruction {
+
+ public void writeToStream(DataOutputStream out, int offset) throws IOException {
+ out.writeByte(opc_if_icmpgt);
+ out.writeShort(getOperand(0));
+ }
+
+ public int length() {
+ return 3;
+ }
+
+}