Addressing mode implemented

And covered with unit tests.