initial implementation of addressing mode 2