Programming Tools (Hack! Hack! Hack!)

3/12/98


Click here to start


Table of Contents

Programming Tools (Hack! Hack! Hack!)

Recap: b Computation Model

Recap: b Instructions and Formats

Language Tools

Overview of UASM

Basic Macros

All “b Instructions” are UASM Macros!

Recall branches in b

Dots and Addresses

Branch Example

All this results in programs like this...

Compiling into Assembly

Optimization!

More Hacking...

What About Procedures?

Static Allocation

Static Allocation for Procedures

Static Allocation for Procedures - II

Next Time: Stack Organization

Author: Srinivas Devadas

Email: devadas@mit.edu

Home Page: http://cag-www.lcs.mit.edu/6.004

Download presentation postscript