Edge triggered instructions, in my experience, are best implemented using a FOR/NEXT Loop.
FOR
V0
From 0
To 1
By 1
V0 = 1 ----------edge triggered instruction
NEXT
This is the simplest way (that always works) no matter where you place the instruction in your code.