Thank you Flinx for your suggestion, I've known for years, based on experience, that certain instructions work differently on each system. My usual practice is to replace them with a more effective and functional solution.
But it's difficult. Sometimes I can figure out why instruction X works fine on Windows, MorphOS, and Linux, and other times it doesn't. It could be due to the operating system and the C language used to compile Hollywood on each system, which makes things different.