CNDLPC#

Format: CNDLPC dest, source

Construction: CNDLPC W0, S0

Description: Conditional Loop for Call

W0 is destination

{
    # if running, mark as done by setting mask count to 2
    if S0 = 0
    {
        W0 = 2
        Pe = 0
    }
    # else if this was not the chosen address, set mask count to 0 to
    # enable execution on next iteration
    elseif (S0 == 1)
    {
        W0 = 0
        Pe = 1
    }
    # otherwise this instance skipped the call loop entirely so leave
    # mask count unchanged
    else
    {
        W0 = S0
        Pe = 0
    }
}