Hi, My understanding is, we should keep as closest as possible, the EXECUTE instruction and its target instruction...EXECUTE instruction being greedy enough in term of CPU use...to be clear dozens of Cycles needed to complete its execution.
Reviewing old Assembler programs, I guess I am surprised to see enough often that all target instructions for ALL the Execute instructions coded in the programs grouped mostly at the end... Sometimes I can see offset between EXECUTION and its Target instruction to be enough BIG like below!!: > 001214 4490 B942 01942 1142 EX R9,LIBCLE2 .. .. 001942 D200 BC76 BD3F 01C76 01D3F 1607 LIBCLE2 MVC SCLE2(0),ZONLIB > I did read many articles, and read often EX should be closed to Target instruction but no recommendation in term of offset between both elements ?!? From my humble understanding, more far is the Target instruction from EX one more costly will be its execution - right ? ; So knowing dozens of Cycles is "normally" required to complete one EX instruction, actually to change the program to minimize the offset between EX and its Target instruction CAN GREATLY reduce CPU use by comparaison with previous code - right ? Thx in advance for input you may have. regards Philippe
