for int versions, use put ret in eax