Patent ID: 8725984

Claim:
A computer program product for facilitating memory accesses in a computing environment, the computer program product comprising: a storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: obtaining, by a processor, a first address that indicates an instruction to be executed, the first address being indirectly usable to access memory; obtaining, by the processor, the instruction to be executed from a memory location using a second address, the second address provided from a translation of the first address and being directly usable to access memory; determining whether the instruction is to access memory; based on determining that the instruction is to access memory, checking whether an operand to be accessed by the instruction is in a same unit of memory as the instruction, the checking comprising: comparing at least a portion of the first address of the instruction with at least a portion of an operand address of the operand, wherein based on the at least a portion of the first address of the instruction being equal to the at least a portion of the operand address, the instruction and operand are in the same unit of memory; and based on the checking indicating the operand is in the same unit of memory as the instruction, generating another operand address for the operand, the generating using the second address of the instruction to generate the another operand address for the operand.