/sys$common/syshlp/helplib.hlb MACRO, VAX MACRO Assembler, Instructions, DIVxx *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Purpose: Perform arithmetic division Format: opcode divr.rx,quo.mx ;2 operand opcode divr.rx,divd.rx,quo.wx ;3 operand Operation: quo = quo / divr ;2 operand quo = divd / divr ;3 operand C. Codes: N = {quo LSS 0}, Z = {quo EQL 0}, C = 0, V = {overflow or {divr EQL 0}} Exceptions: Integer or floating overflow, divide by zero Floating underflow, reserved operand Opcodes: 86 DIVB2 Divide byte 2 operand 87 DIVB3 Divide byte 3 operand A6 DIVW2 Divide word 2 operand A7 DIVW3 Divide word 3 operand C6 DIVL2 Divide long 2 operand C7 DIVL3 Divide long 3 operand 46 DIVF2 Divide F_floating 2 operand 47 DIVF3 Divide F_floating 3 operand 66 DIVD2 Divide D_floating 2 operand 67 DIVD3 Divide D_floating 3 operand 46FD DIVG2 Divide G_floating 2 operand 47FD DIVG3 Divide G_floating 3 operand 66FD DIVH2 Divide H_floating 2 operand 67FD DIVH3 Divide H_floating 3 operand
|