The recent applications in the computing field deals with huge data processing operations, which involves a lot of data transfer from the memory to processing unit and vice versa. If these data transfers between the CPU and memory are reduced, a lot of time could be saved along with advantage of getting desirable outputs at a lower latency. One of the ways to achieve this is to adopt In-memory computational techniques, where most of the computations happen inside memory itself. Memristive crossbar architecture is a memory architecture which makes use of memristors as memory cells to store data with some added computational capabilities. The need for power efficient computing in the present days motivates the search for new nonvolatile universal memories like memristors. In this paper, we present an optimal way of implementing basic ALU operations in the memristive memory block. A detailed description for simulating this is given, which includes the creation of memristor symbol, choosing a suitable memristive logic to implement basic digital logics, creation of memory crossbar and the way to realize basic ALU operations.