SPOS LAB Group-01| Implementation of Pass-1 of Two Pass Assembler Using Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น •

  • @IndiBuzzerTechnicalSolution
    @IndiBuzzerTechnicalSolution  9 วันที่ผ่านมา

    /*Java Program TO Implement Pass-I of Two Pass Assembler , Input: Assembly Langauage Program , Output:Symbol Table*/
    import java.io.*;
    class pasone
    {
    public static void main(String ar[])throws IOException
    {
    int i;
    String a[][]={ //string array
    {"","START","101",""},
    {"","MOVER","BREG","ONE"},
    {"","MOVEM","BREG","TERM"},
    {"AGAIN","MULT","BREG","TERM"},
    {"","MOVER","CREG","TERM"},
    {"","ADD","CREG","N"},
    {"","MOVEM","CREG","RESULT"},
    {"N","DS","6",""},
    {"RESULT","DS","6",""},
    {"ONE","DC","1",""},
    {"TERM","DS","3",""},
    {"END","","",""}
    };
    int lc=Integer.parseInt(a[0][2]);//parsing string arguements into an integer object(returns-101)
    String st[][]=new String[5][2];//create object & variable(st)->refer to object in the heap memory.
    int cnt=0,l;
    for(i=0;i

  • @ohbonobonoya
    @ohbonobonoya 3 ปีที่แล้ว +5

    wish u could have uploaded code in description

    • @IndiBuzzerTechnicalSolution
      @IndiBuzzerTechnicalSolution  3 ปีที่แล้ว +4

      Ok...I will do it

    • @babasahebbhosale7908
      @babasahebbhosale7908 3 ปีที่แล้ว +1

      @@IndiBuzzerTechnicalSolution plz

    • @prathmesh5124
      @prathmesh5124 ปีที่แล้ว +2

      Where is code

    • @Sourav-p1o
      @Sourav-p1o 12 วันที่ผ่านมา

      @@IndiBuzzerTechnicalSolution where is the code ?

    • @IndiBuzzerTechnicalSolution
      @IndiBuzzerTechnicalSolution  9 วันที่ผ่านมา

      /*Java Program TO Implement Pass-I of Two Pass Assembler , Input: Assembly Langauage Program , Output:Symbol Table*/
      import java.io.*;
      class pasone
      {
      public static void main(String ar[])throws IOException
      {
      int i;
      String a[][]={ //string array
      {"","START","101",""},
      {"","MOVER","BREG","ONE"},
      {"","MOVEM","BREG","TERM"},
      {"AGAIN","MULT","BREG","TERM"},
      {"","MOVER","CREG","TERM"},
      {"","ADD","CREG","N"},
      {"","MOVEM","CREG","RESULT"},
      {"N","DS","6",""},
      {"RESULT","DS","6",""},
      {"ONE","DC","1",""},
      {"TERM","DS","3",""},
      {"END","","",""}
      };
      int lc=Integer.parseInt(a[0][2]);//parsing string arguements into an integer object(returns-101)
      String st[][]=new String[5][2];//create object & variable(st)->refer to object in the heap memory.
      int cnt=0,l;
      for(i=0;i

  • @numbergame7592
    @numbergame7592 3 ปีที่แล้ว +2

    which software to use to run code

    • @IndiBuzzerTechnicalSolution
      @IndiBuzzerTechnicalSolution  ปีที่แล้ว +3

      On Linux operating system...use terminal

    • @VIRU.....
      @VIRU..... ปีที่แล้ว

      ​@@IndiBuzzerTechnicalSolutionand for windows which software

  • @toxicneuro
    @toxicneuro ปีที่แล้ว +3

    Sir Hindi lectures banao na ?

  • @adyajadhav___offical7976
    @adyajadhav___offical7976 ปีที่แล้ว

    sir can we get code?