Improve handling of immediates by splitting 32-bit immediates into two 16-bit