VMS Help MACRO, VAX MACRO Assembler, Instructions, CMPx *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Purpose: Arithmetic comparison between two scalar quantities Format: opcode scr1.rx,src2.rx Operation: src1 - src2 C. Codes: N = {src1 LSS src2}, Z = {src1 EQL src2}, V = 0, C = {src1 LSSU src2} (integer), C = 0 (floating) Exceptions: None (integer), reserved operand (floating) Opcodes: 91 CMPB Compare byte B1 CMPW Compare word D1 CMPL Compare long 51 CMPF Compare F_floating 71 CMPD Compare D_floating 51FD CMPG Compare G_floating 71FD CMPH Compare H_floating Description: src1 is compared with src2. The only action is to affect the condition codes.
|