User Tools

Site Tools


cdc:nos2.source:nam5871:xcdd

Table of Contents

XCDD

Table Of Contents

  • [00006] XCDD - CONVERT INTEGER TO DECIMAL DISPLAY CODE.
  • [00009] CONVERT INTEGER TO DECIMAL DISPLAY CODE.

Source Code

XCDD.txt
  1. *DECK XCDD
  2. IDENT XCDD
  3. ENTRY XCDD
  4. B1=1
  5. LIST F
  6. TITLE XCDD - CONVERT INTEGER TO DECIMAL DISPLAY CODE.
  7. COMMENT CONVERT INTEGER TO DECIMAL DISPLAY CODE.
  8. XCDD SPACE 4,10
  9. *** XCDD - CONVERT INTEGER TO DECIMAL DISPLAY CODE.
  10. *
  11. * HOLLERITH = XCDD (INTEGER)
  12. *
  13. * XX = XCDD(YY); ( SYMPL CALL )
  14. *
  15. * ENTRY - YY, AN ITEM THAT CONTAINS THE INTEGER TO BE CONVERTED
  16. *
  17. * EXIT - XX, A CHAR. ITEM TO CONTAIN DISPLAY CODE ON EXIT
  18.  
  19.  
  20. XCDD SUBR = ENTRY/EXIT
  21. SB1 1
  22. SA1 X1+
  23. RJ =XCDD=
  24. JP XCDDX RETURN, RESULT IN X6
  25.  
  26. END
cdc/nos2.source/nam5871/xcdd.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator