How do you initialize a register to 0000?

Answer Posted / sunny

XR Rx,Rx

This is the best way and most efficient way of initializing
the register values or Label values to '0'.

Its because the time required to execute a Logical
Instruction is always less than the Arithmetic Instructions.

e.g SR Rx,Rx consumes more execution time than XR Rx,Rx.

So XR Rx,Rx is a better way to do obtain our target.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is maximum displacement and how to cross this limit?

672


What is the use of trt instruction?

584


Explain how to produce soc7 abend?

643


Explain how to initialize a register to 0000?

589


Ap wkur,=p5 where wkur is a label?

670






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

639


how to initialize a register to 0000?

667


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

621


Explain the difference between various read and find statement?

623


What does "using" do?

594


What is need of start 0?

659


what is need of start 0? In steed of

676


How do you round the addition or subtraction of two numbers in assembler?

602


Explain how to access vsam file?

611


What is house keeping in assembler?

593