User Tools

Site Tools


ibm:vm370-lib:cp:dmknem.assemble_abs

Table of Contents

DMKNEM Abstract

Statistics

Type ASSEMBLE
Source Lines : 331
Fixes Applied : 0
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [Unmodified]

Synopsis

Module

       DMKNEM

Function

       TO GET A 5-BYTE MNEMONIC OP-CODE FOR A 370 BINARY OP-CODE

Attributes

       REENTRANT, PAGEABLE, CALLED VIA SVC.

Operation

       1.  INDEXES TABLE OF 4-BYTE MNEMONICS TO GET UNIQUE
       4-BYTE EQUIVALENT IF THIS IS AVAILABLE.  IF YES, STORES SAME
       WITH 5TH BYTE SET TO BLANK, AND EXITS.

       2.  IF NO UNIQUE 4-BYTE EQUIVALENT IS AVAILABLE,
       HANDLES 'BCR' AND 'BC' INSTRUCTIONS AS INDICATED IN NOTES
       ABOVE.  5-BYTE MNEMONICS ARE HANDLED VIA A JUMP TABLE AND
       ARE RETURNED TO THE CALLER.

       3.  FOR THE REMAINING CASE OF 'B2' INSTRUCTIONS, A TABLE
       OF KNOWN LEGAL 'B2' COMMANDS IS SEARCHED PER THE SECOND BYTE
       OF THE OP-CODE.  IF FOUND, THE EQUIVALENT IS RETURNED TO
       THE CALLER.  IF NOT, THE UNKNOWN OP-CODE IS RETURNED.

Calls to Other Routines

       NONE
ibm/vm370-lib/cp/dmknem.assemble_abs.txt ยท Last modified: 2023/08/06 13:37 by Site Administrator