Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMPXCHG Instruction
 Summary Key                              Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
 00001111     1011000b     mod,reg,r/m     disp (0, 1, or 2)
────────────────────────┬───────────────────────────┬───────────────────────
 CMPXCHG mem,reg        │ cmpxchg  warr[bx],cx      │ 88/86 ──
                        │ cmpxchg  string,bl        │   286 ──
                        │                           │   386 ──
                        │                           │   486 7-10
────────────────────────┴───────────────────────────┴───────────────────────
 
────────────────────────┬───────────────────────────┬───────────────────────
 CMPXCHG reg,reg        │ cmpxchg  dl,cl            │ 88/86 ──
                        │ cmpxchg  bx,dx            │   286 ──
                        │                           │   386 ──
                        │                           │   486 6
────────────────────────┴───────────────────────────┴───────────────────────
                                    -♦-