prototype: very bad things are happening with imm

What's clobbering the immediate values?