Several new instructions and SR flag fixes