示例#1
0
文件: Code.java 项目: Ma233/stone
 public void add(byte b) {
   svm.code()[codeSize++] = b;
 }
示例#2
0
文件: Code.java 项目: Ma233/stone
 public int record(String s) {
   svm.strings()[numOfStrings] = s;
   return numOfStrings++;
 }
示例#3
0
文件: Code.java 项目: Ma233/stone
 public void set(short value, int pos) {
   svm.code()[pos] = (byte) (value >>> 8);
   svm.code()[pos + 1] = (byte) value;
 }