Example #1
0
        public void Label(IAsm a)
        {
            StringBuilder sb = new StringBuilder(Io.MAXSTR);

            sb.Append(a.getLabel());
            sb.Append(":\r\n");
            io.Out(sb.ToString());
        }
Example #2
0
File: asm.cs Project: master/plil
 public void Branch(IAsm a)
 {
     StringBuilder sb = new StringBuilder(Io.MAXSTR);
     sb.Append("\t");
     sb.Append(a.getInsn());
     sb.Append(" ");
     sb.Append(a.getLabel());
     sb.Append("\t\t\t\t\t//");
     sb.Append(a.getICount());
     sb.Append("\r\n");
     io.Out(sb.ToString());
 }
Example #3
0
        private Object getILLabel(IAsm a)
        {
            String s = a.getLabel();
            Object l = labelhash[s];

            if (l == null)
            {
                l            = (Object)il.DefineLabel();
                labelhash[s] = l;
            }
            return(l);
        }
Example #4
0
        public void Branch(IAsm a)
        {
            StringBuilder sb = new StringBuilder(Io.MAXSTR);

            sb.Append("\t");
            sb.Append(a.getInsn());
            sb.Append(" ");
            sb.Append(a.getLabel());
            sb.Append("\t\t\t\t\t//");
            sb.Append(a.getICount());
            sb.Append("\r\n");
            io.Out(sb.ToString());
        }
Example #5
0
File: asm.cs Project: master/plil
 public void Label(IAsm a)
 {
     StringBuilder sb = new StringBuilder(Io.MAXSTR);
     sb.Append(a.getLabel());
     sb.Append(":\r\n");
     io.Out(sb.ToString());
 }
Example #6
0
File: exe.cs Project: master/plil
        private Object getILLabel(IAsm a)
        {
            String s = a.getLabel();
            Object l = labelhash[s];

            if (l == null) {
                l = (Object) il.DefineLabel();
                labelhash[s] = l;
            }
            return l;
        }