decode op_foo into op=foo