fixed subi, retested program, cannot find fix for memory shift