Computer Science Fundamentals Algorithms Subjective
Feb 26, 2013

Translate the conditional statement if a<b then 1 else 0 into three address code.

Detailed Explanation

Three-address sequence is
100:    if a < b goto 103
101:    t := 0
102:    goto 104
103:     t := 1
104:   

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback