Gen (instruction)

gen P X Y

is equivalent to

mov 100 P   slp X    mov 0 P    slp Y