1. A method for operating a memory device that includes memory and a processing element, the method comprising: receiving, in the processing element, a command from a requestor; loading, in the processing element, a program based on the command, the program comprising a load instruction loaded from a first memory location in the memory; performing, by the processing element, the program, the performing comprising loading data in the processing element from a second memory location in the memory; generating, by the processing element, a virtual address of the second memory location based on the load instruction; and translating, by the processing element, the virtual address into a real address.