by steve-myers » Thu Jun 21, 2012 7:20 pm
Your question is more complex than you think.Why are you doing this? Are you saving them at the entry to a subroutine and restoring them just before you exit the subroutine?
Principles of Operation describes eight instructions you can use. They are in pairs: the instruction you use to save a register generally dictates the instruction you use to restore the register. Instruction pairs like BAKR/PR have usage implications that discourage their use for your intended purpose. I suggest you read Principles of Operation, obtain a book about Assembler language, or locate web sites that provide tutorial type information that others will provide the links for.
Four of the instructions require you to provide a place to use to contain the contents.
This web site is not intended for tutoials, which seems to be what you really need. You might try a Google search for "System/360 Assembler tutorial," though the pickings seemed very slim.