₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,223 members, 8,429,899 topics. Date: Friday, 19 June 2026 at 03:22 PM

Toggle theme

Construct Control Flow Of The Program(c Programming) - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingConstruct Control Flow Of The Program(c Programming) (872 Views)

1 Reply

Construct Control Flow Of The Program(c Programming) by sara2(op): 6:17pm On Jun 01, 2009
Hi,
i am constructing control flow of the program, by reading a compiler generated listing file. i used two pass to read the file.
in first pass:
i read all the listing file and form all the available nodes.
and store the label(L32,L4,, ) after the branch(e.g.,bne L32, Bra L4).

in Second pass:
i read all the listing file again and store the targetlabel(L32:, L4:, )
now we compare L32 and if matches then we send the targetlabel Address to the node.
see the datastructures,

the result is the control flow graph of the program,

now my problem is i am not able to do the 2nd pass, please help me with this information, i have being struggling with this for many days,
plz see in the attactments, i am sending the c coding , the output with i got and the listing file which i use to construct control flow,
thank you very much,
Re: Construct Control Flow Of The Program(c Programming) by Seun(mod): 8:43pm On Jun 01, 2009
Where are the attachments? Post them here: www.paste.ca
1 Reply

Fizzbuzz Problem Using "Switch" Statement ConstructPlease, Advice Me On The Program To Select As A Course Of Study.234

Please I Need A Code To Generate Random Password In PhpWhy Seperate Database On ApplicationsAm New To Java