gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ec468d)
raw | patch | inline | side by side (parent: 2ec468d)
author | Doni Pracner <quinnuendo@gmail.com> | |
Tue, 17 Jul 2018 21:39:21 +0000 (23:39 +0200) | ||
committer | Doni 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] | patch | blob |
res/mj-bytecodes.properties | [deleted file] | patch | blob | history |
src/com/quemaster/transformations/mjc2wsl/MicroJavaInput.java | patch | blob | history |
diff --git a/res/com/quemaster/transformations/mjc2wsl/mj-bytecodes.properties b/res/com/quemaster/transformations/mjc2wsl/mj-bytecodes.properties
--- /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
+++ /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
diff --git a/src/com/quemaster/transformations/mjc2wsl/MicroJavaInput.java b/src/com/quemaster/transformations/mjc2wsl/MicroJavaInput.java
index 15fed7aa555462624388caa2c98a9f58cdf221fb..678243da3790abccaf6c366bdecdf405c2fc6135 100644 (file)
package com.quemaster.transformations.mjc2wsl;
/*
- Copyright (C) 2014,2015 Doni Pracner
+ Copyright (C) 2014,2015,2018 Doni Pracner
This file is part of mjc2wsl.
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;