Results 1 to 2 of 2
  1. #1
    Nael is offline Member
    Join Date
    Feb 2009
    Posts
    5
    Rep Power
    0

    Post How to do parsing and mini-Compler for ISA?

    Hi,
    I'm trying to make parsing arithmetic expressions in java for the following:
    1. A = (B + C) * D - E;
    2. F = (G + H) - (I + J);
    3. G = H + A[i];
    4. If (I == J) F = G + H;
    Else F = G - H;
    5. Loop: G = G + A[i];
    I = I + J;
    If (I != H) Goto Loop;
    6. If (G < H) Goto Less;
    7. While (save[i] == K)
    I = I + J;
    After that I need to the simulation to be performed on the assembly code level by writing a mini-compiler for each ISA, i.e., 3, 2-Address Architecture,
    Accumulator Architecture, Stack Architecture, and Load-Store Architecture.
    If anyone can help me in that.
    Thank you all.

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Don't double post...

    Need Help
    Double posting isn't going to get you an answer faster... it just annoys people. Stick with the first post.

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Similar Threads

  1. xml parsing help
    By tankhardrive in forum XML
    Replies: 2
    Last Post: 02-12-2009, 12:45 AM
  2. The 3 Word Story [Mini Game]
    By Eku in forum Forum Lobby
    Replies: 90
    Last Post: 11-16-2008, 10:01 PM
  3. xml parsing
    By gaurav65176 in forum XML
    Replies: 5
    Last Post: 11-12-2008, 12:07 PM
  4. Using SAXParserFactory for parsing XML
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-20-2008, 10:42 AM
  5. Parsing URL
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-26-2007, 11:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •