.pg .x cmpq .lt ------------------------------------------------------------------------ CMPQ source,destination ------------------------------------------------------------------------ .el .b 3 This macro performs quadword comparison. .b This macro will produce inline code to perform the quadword comparion. After the comparison is performed, r0 will contain the following values: .b .lt -1 if source < destination 0 if source = destination 1 if source > destination .el .b For example: .b .lt cmpq source,target .el .b will generate the following code: .b .lt movq source,r2 subl target,r2 sbcw 4+target,r3 tstl r3 blss 30001$ bgtr 30002$ tstl r2 bnequ 30002$ clrl r0 brb 30003$ 30001$: movl #-1,r0 brb 30003$ 30002$: movl #1,r0 30003$: .el .b See also ADDQ, ADDQ3, DIVQ4, MULQ, MULQ3, SUBQ, SUBQ3 and TSTQ.