Re: A89: conditional subroutines


[Prev][Next][Index][Thread]

Re: A89: conditional subroutines




In a message dated 12/12/1998 7:35:26 PM Pacific Standard Time,
ComAsYuAre@aol.com writes:

> am i missing something or are there no opcodes for conditional subroutine
>  calls?  you can branch on a condition, but that isn't a subroutine.
>  
>  am i missing something?

Try this:

  cmp d0, 1
  beq skipcall
  bsr lib::function
skipcall:

If d0 is 1, it skips the call.


Daniel Imfeld