Implement TraceStack and ,TraceStack instructions.