k-time conditional goto: ?
| Date | 1999-05-10 02:07 |
| From | Paul Barton-Davis |
| Subject | k-time conditional goto: ? |
Am I the only one who thinks that this code:
void kcgoto(CGOTO *p)
{
if (*p->cond)
pds = p->lblblk->prvp;
}
doesn't match my expectations of the expression:
if (kvar REL kvar) kgoto label
I would have expected (kvar REL kvar) to be evaluated every k-cycle,
but instead, its evaluated once, during orchestra compilation. In
essence, its no different that icgoto(), except that its opcode type
signature requires k-time arguments.
Am I mistaken here ?
|