Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:chapter5:asm [2019/12/04 15:30] claudio [Flow control] |
manual:chapter5:asm [2019/12/04 15:36] claudio [Example code] |
||
---|---|---|---|
Line 133: | Line 133: | ||
| '': | | '': | ||
| '': | | '': | ||
+ | | '': | ||
==== Example code ==== | ==== Example code ==== | ||
Line 146: | Line 147: | ||
-103 SF @ Complex results | -103 SF @ Complex results | ||
: | : | ||
- | :CMP.A.#0 :D=CHK.EQ @ a=0? | + | :AND.A.C @ Are either zero? |
- | :CMP.C.#0 :E=CHK.EQ @ c=0? | + | :SKIP.NZ @ Skip next seco if both A and C were non-zero |
- | : | + | |
- | :SKIP.EQ @ Skip next seco if both tests were false | + | |
:: "Zero Input Invalid" | :: "Zero Input Invalid" | ||
| |