gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
MJInput, move the properties file to the proper package
authorDoni Pracner <quinnuendo@gmail.com>
Tue, 17 Jul 2018 21:39:21 +0000 (23:39 +0200)
committerDoni Pracner <quinnuendo@gmail.com>
Tue, 17 Jul 2018 21:39:21 +0000 (23:39 +0200)
res/com/quemaster/transformations/mjc2wsl/mj-bytecodes.properties [new file with mode: 0644]
res/mj-bytecodes.properties [deleted file]
src/com/quemaster/transformations/mjc2wsl/MicroJavaInput.java

diff --git a/res/com/quemaster/transformations/mjc2wsl/mj-bytecodes.properties b/res/com/quemaster/transformations/mjc2wsl/mj-bytecodes.properties
new file mode 100644 (file)
index 0000000..4cd2878
--- /dev/null
@@ -0,0 +1,57 @@
+1=load
+2=load_0
+3=load_1
+4=load_2
+5=load_3
+6=store
+7=store_0
+8=store_1
+9=store_2
+10=store_3
+11=getstatic
+12=putstatic
+13=getfield
+14=putfield
+15=const_0
+16=const_1
+17=const_2
+18=const_3
+19=const_4
+20=const_5
+21=const_m1
+22=const_
+23=add
+24=sub
+25=mul
+26=div
+27=rem
+28=neg
+29=shl
+30=shr
+31=inc
+32=new_
+33=newarray
+34=aload
+35=astore
+36=baload
+37=bastore
+38=arraylength
+39=pop
+40=dup
+41=dup2
+42=jmp
+43=jeq
+44=jne
+45=jlt
+46=jle
+47=jgt
+48=jge
+49=call
+50=return_
+51=enter
+52=exit
+53=read
+54=print
+55=bread
+56=bprint
+57=trap
\ No newline at end of file
diff --git a/res/mj-bytecodes.properties b/res/mj-bytecodes.properties
deleted file mode 100644 (file)
index 4cd2878..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-1=load
-2=load_0
-3=load_1
-4=load_2
-5=load_3
-6=store
-7=store_0
-8=store_1
-9=store_2
-10=store_3
-11=getstatic
-12=putstatic
-13=getfield
-14=putfield
-15=const_0
-16=const_1
-17=const_2
-18=const_3
-19=const_4
-20=const_5
-21=const_m1
-22=const_
-23=add
-24=sub
-25=mul
-26=div
-27=rem
-28=neg
-29=shl
-30=shr
-31=inc
-32=new_
-33=newarray
-34=aload
-35=astore
-36=baload
-37=bastore
-38=arraylength
-39=pop
-40=dup
-41=dup2
-42=jmp
-43=jeq
-44=jne
-45=jlt
-46=jle
-47=jgt
-48=jge
-49=call
-50=return_
-51=enter
-52=exit
-53=read
-54=print
-55=bread
-56=bprint
-57=trap
\ No newline at end of file
index 15fed7a..678243d 100644 (file)
@@ -1,7 +1,7 @@
 package com.quemaster.transformations.mjc2wsl;
 
 /*
- Copyright (C) 2014,2015  Doni Pracner
+ Copyright (C) 2014,2015,2018  Doni Pracner
 
  This file is part of mjc2wsl.
 
@@ -26,7 +26,7 @@ import java.util.HashMap;
 
 public class MicroJavaInput {
        private HashMap<Integer, String> opMap;
-       public String opCodeFile = "/mj-bytecodes.properties";
+       public String opCodeFile = "mj-bytecodes.properties";
        private InputStream mainIn;
        int counter = -1;
 
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner