Optimization: for atomic operations that have a small constant operand, use type B (immediate) instruction forms