Not logged in. · Lost password · Register
Forum: Fedora Programowanie i kompilacja RSS
translacja kodu na kod trójadresowy

Compose post

Username:
Subject (optional):
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Please shorten the quotation to the essential to improve readability.
You are not logged in and writing this post as a guest.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Smaller – Larger +
Text length: ? characters (Maximum: 10,000)
Post options
·
The last posts in this thread   (newest first, maximum 10 posts):
Marcin
No profile available.
Link to this post
Subject: translacja kodu na kod trójadresowy
Witam. Bardzo bym prosił o pomoc w rozwiązaniu zadania:

Translacja kodu języka wysokiego poziomu do kodu trójadresowego.

Dokonaj translacji poniższego kodu na kod trójadresowy. Przedstaw pamięć zmiennych statycznych
oraz stosu procesora dla wyróżnionej linii programu.

var x: integer;

function f(): integer;
begin
         f := 1
end;

procedure p (a:integer);
begin
          write(f+a)
end;

begin
           x := 1;
           p (x)
end.

prosiłbym o pomoc lub jakąkolwiek podpowiedź jak zacząć to zadanie rozwiązywać. czy tablica cymboli to tablica typu (identyfikator, typ, adress) ??

byłbym bardzo wdzieczny za jakąkolwiek pomoc. dzieki
Powered by Unclassified NewsBoard (© 2003-7 by Yves Goergen)
Current time: 2010-09-09, 10:37:36 (UTC +01:00)
Copyright © 2006 - 2007 fedorapl.org