A system, method, and computer program product are provided for directly
executing code in block-based memory, which resides in communication with
a processor and a controller. Utilizing the controller, a request is
received from the processor for a subset of a block of data in the
block-based memory, and at least a portion of the block is retrieved from
the block-based memory. After the retrieval, at least a portion of the
block is stored in a cache. The subset of the block is then transmitted
to the processor, utilizing the controller. To this end, code in the
block-based memory is directly executed.