#16 sign extend for immediate values and adding function to compute predicted address of branch