20.04.2013 Views

Spring 2011 CSCI 565 - Compiler Design

Spring 2011 CSCI 565 - Compiler Design

Spring 2011 CSCI 565 - Compiler Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Pedro Diniz<br />

pedro@isi.edu<br />

• Assignments:<br />

<strong>CSCI</strong> <strong>565</strong> - <strong>Compiler</strong> <strong>Design</strong><br />

Three-Address Instructions<br />

– x = y op z (binary operator)<br />

– x = op y (unary)<br />

– x = y (copy)<br />

– x = y[i] and x[i] = y (array indexing assignments)<br />

<strong>Spring</strong> <strong>2011</strong><br />

– x = phi y z (Static Single Assignment instruction)<br />

• Memory Operations:<br />

– x = &y; x = *y and *x = y; for assignments via pointer variables.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!