Hint


Don't scroll down unless you are really stuck!

















































Shhhhh....
















































You may want to treat some of the registers as special values like the PC - for example, register[0] could hold a pointer to the top of the stack.

Make sure you have a clear idea for how to model the PostFix execution using an RVM, since the rest of this problem set depends on it.

Back to Problem Set 1


CS 655 University of Virginia
CS 655: Programming Languages
cs655-staff@cs.virginia.edu
Last modified: Mon Feb 26 12:48:16 2001