initial implementation of addressing mode 5