mulli for constant multiplies
Multiplying by a constant gets its own instruction: the immediate multiply mulli rD, rA, imm. The multiplier lives inside the instruction, so again there's no separate load.
times6(n) = n * 6 compiles to:
mulli r3, r3, 6
blr
The immediate field is the constant — read it straight out of the instruction.
(One kind of constant skips mulli: powers of two. The compiler turns those into a cheaper shift instead, which is a story for a later chapter.)
Look at the immediate on the mulli in the target. That value is your multiplier.
Your task
Write mulConst to reproduce the target assembly.