Push Call Return Value (1)

if the following are true:
  • Return Value at time t = [ r, [ ] ]
  • Expression Stack at time t = [ [ ], [ [ function call with name: name and arguments: args, ys ], rest ] ]
  • Value Stack at time t = [ next_level, other_levels ]

then Value Stack at time (t + 1) = [ [ r, next_level ], other_levels ]


Comments

Please log in to add comments