wraps dispatch in saving/loading sp/bp