Error checking for ARM branches, able to call thumb functions