MMIX LOGO

MMIX Instruction Set

Table of Content

Content

Conditional Assignments

Name:
CSZ $X,$Y,$Z CSZ $X,$Y,Z ZSZ $X,$Y,$Z ZSZ $X,$Y,Z
CSNZ $X,$Y,$ZCSNZ $X,$Y,Z ZSNZ $X,$Y,$ZZSNZ $X,$Y,Z
CSN $X,$Y,$Z CSN $X,$Y,Z ZSN $X,$Y,$Z ZSN $X,$Y,Z
CSNN $X,$Y,$ZCSNN $X,$Y,Z ZSNN $X,$Y,$ZZSNN $X,$Y,Z
CSP $X,$Y,$Z CSP $X,$Y,Z ZSP $X,$Y,$Z ZSP $X,$Y,Z
CSNP $X,$Y,$ZCSNP $X,$Y,Z ZSNP $X,$Y,$ZZSNP $X,$Y,Z
CSOD $X,$Y,$ZCSOD $X,$Y,Z ZSOD $X,$Y,$ZZSOD $X,$Y,Z
CSEV $X,$Y,$ZCSEV $X,$Y,Z ZSEV $X,$Y,$ZZSEV $X,$Y,Z

Specification:
CSxx: s($X) ← s($Z) if s($Y) satisfies the condition xx.
ZSxx:
s($X) ← { s($Z) if s($Y) satisfies condition xx,
0 otherwise

Timing:

Description:

The "Conditional Set" and "Zero or Set" Instructions check the specified condition for the value $Y and conditional execute the assignment.

See also:

Branches, General Information

Please help to keep this site up to date! If you want to point out important material or projects that are not listed here, if you find errors or want to suggest improvements, please send email to email