How do you initialize a register to 0000?

Answer Posted / anonym

1. Register i-memory (fastest)
LA x,0
SRL x,64

2. register register
XGR/XR x,x
SGR/SR x,x

3. register memory (not very clever)
L x,=A(0)
LG x,=AD(0)

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about maximum displacement?

608


Why do we use "drop"?

565


explain about maximum displacement and how to cross this limit?

701


Explain the difference between various read and find statement?

623


how to retrieve the instream data in sysin?

677






Explain how to pass instream data in sysin with assembler?

647


Ap wkur,=p5 where wkur is a label?

669


Explain the difference in data type "x" and "p"?

595


Explain about house keeping in assembler?

636


What is maximum displacement?

620


How many maximum base registers we can have in a single program?

639


What will happen if we drop the base register in the program which contains only one basereg?

577


how to pass the parameters from jcl to assembler pgm?

657


Explain about base register?

606


Explain how to produce soc7 abend?

642