[lkml]   [1998]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: NOP instruction
    On Tue, 15 Dec 1998, Chipzz wrote:

    > I've always wondered... A much used NOP "instruction" is
    > OR AX,AX (or similar);

    Intel's NOP is actually XCHG AX,AX / XCHG EAX,EAX and it doesn't change
    any flags. OR AX,AX would alter them.

    > But doesn't this, as well as MOV DI,DI, set the zero flag???

    MOV DI,DI also doesn't change flags.

    __("< Marcin Kowalczyk *
    \__/ GCS/M d- s+:-- a21 C+++>+++$ UL++>++++$ P+++ L++>++++$ E->++
    ^^ W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
    QRCZAK 5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:46    [W:0.033 / U:8.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site