home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol089 / syslib5.hlp < prev    next >
Text File  |  1985-02-09  |  6KB  |  146 lines

  1. Output HL as 4 Hexadecimal Characters
  2. Output HL as 5 Decimal Characters
  3. Output HL as Up to 5 Decimal Characters with Leading Spaces
  4. Output A as 2 Hexadecimal Characters
  5. Output A as 3 Decimal Characters
  6. Output A as Up to 3 Decimal Characters with Leading Spaces
  7. :PHL4HC, LHL4HC, MHL4HC
  8.      Routine Names:  PHL4HC, LHL4HC
  9.      Function║
  10.           Prin⌠á H╠á a≤ fou≥ (4⌐ hexadecima∞ character≤á oεá CON║ ì
  11. (PHL4HC⌐ o≥ LST║ (LHL4HC).
  12.      Inputs:  HL = value to be printed
  13.      Outputs:  -None- (Value is printed)
  14.      Registers Affected:  -None-
  15.      SYSLIB Routines Called:  PA2HC (for PHL4HC);
  16.                               LA2HC (for LHL4HC)
  17.      Special Error Conditions:  -None-
  18.  
  19.  
  20.      Routine Name:  MHL4HC
  21.      Function║
  22.           Storσá H╠ a≤ fou≥ (4⌐ hexadecima∞ character≤ iε thσá 4-ì
  23. bytσ memor∙ buffe≥ pointeΣ t∩ b∙ DE«  Oε return¼ D┼ point≤ t∩ thσ ì
  24. bytσ followinτ thi≤ buffer.
  25.      Inputs:  HL = value to be converted and stored
  26.               DE points to 4-byte buffer
  27.      Outputs:  DE points to byte after buffer
  28.      Registers Affected:  DE
  29.      SYSLIB Routines Called:  MA2HC
  30.      Special Error Conditions:  -None-
  31. :PHL5DC, LHL5DC, MHL5DC
  32.      Routine Names:  PHL5DC, LHL5DC
  33.      Function║
  34.           Prin⌠á H╠á a≤á fivσá (5⌐á decima∞á character≤á oεá CON║ ì
  35. (PHL5DC⌐ o≥ LST║ (LHL5DC).
  36.      Inputs:  HL = value to be printed
  37.      Outputs:  -None- (Value is printed)
  38.      Registers Affected:  -None-
  39.      SYSLIB Routines Called:  POUT (for PHL5DC); LOUT (for LHL5DC)
  40.      Special Error Conditions:  -None-
  41.  
  42.  
  43.      Routine Name:  MHL5DC
  44.      Function║
  45.           Storσá H╠ a⌠ fivσ (5⌐ decima∞ character≤ iεá memor∙á iε ì
  46. thσ 5-bytσ buffe≥ pointeΣ t∩ b∙ DE«á  Oε return¼ D┼ point≤ t∩ thσ ì
  47. bytσ afte≥ thi≤ buffer.
  48.      Inputs:  HL = value to be converted and stored
  49.               DE points to a 5-byte buffer
  50.      Outputs:  DE points to the byte following the buffer
  51.      Registers Affected:  DE
  52.      SYSLIB Routines Called:  -None-
  53.      Special Error Conditions:  -None-
  54. :PHLDC, LHLDC, MHLDC
  55.      Routine Names:  PHLDC, LHLDC
  56.      Function║
  57.           Prin⌠á H╠á a≤á u≡ t∩ fivσ (5⌐ decima∞á character≤á witΦ ì
  58. leadinτ space≤ (<SP>⌐ oε CON║ (PHLDC⌐ o≥ LST║ (LHLDC).
  59.      Inputs:  HL = value to be printed
  60.      Outputs:  -None- (Value is printed)
  61.      Registers Affected:  -None-
  62.      SYSLIB Routines Called:  POUT (for PHLDC); LOUT (for LHLDC)
  63.      Special Error Conditions:  -None-
  64.  
  65.  
  66.      Routine Name:  MHLDC
  67.      Function║
  68.           Storσá H╠á a≤ u≡ t∩ fivσ (5⌐á decima∞á character≤á witΦ ì
  69. leadinτ space≤ iε thσ 5-bytσ memor∙ buffe≥ pointeΣ t∩ b∙ DE.
  70.      Inputs:  HL = value to be converted and printed
  71.               DE points to the 5-byte buffer
  72.      Outputs:  DE points to the byte after the buffer
  73.      Registers Affected:  DE
  74.      SYSLIB Routines Called:  -None-
  75.      Special Error Conditions:  -None-
  76. :PA2HC, LA2HC, MA2HC
  77.      Routine Names:  PA2HC, LA2HC
  78.      Function║
  79.           Prin⌠á ┴á a≤á tw∩ (2⌐ hexadecima∞á character≤á oεá CON║ ì
  80. (PA2HC⌐ o≥ LST║ (LA2HC).
  81.      Inputs:  A = value to be printed
  82.      Outputs:  -None- (Value is printed)
  83.      Registers Affected:  -None-
  84.      SYSLI┬á Routine≤ Called║  E╬ (fo≥ both)╗á POU╘ (fo≥ PA2HC)╗á LOU╘ (fo≥ ì
  85. LA2HC)
  86.      Special Error Conditions:  -None-
  87.  
  88.  
  89.      Routine Name:  MA2HC
  90.      Function║
  91.           Storσ ┴ a≤ tw∩ (2⌐ hexadecima∞ character≤ iε thσ 2-bytσ ì
  92. memor∙á buffe≥ pointeΣ t∩ b∙ DE«á  Oε return¼á DE point≤ t∩á bytσ ì
  93. afte≥ buffer.
  94.      Inputs:  A = value to be converted and stored
  95.               DE points to 2-byte buffer
  96.      Outputs:  DE points to byte after this buffer
  97.      Registers Affected:  DE
  98.      SYSLIB Routines Called:  EN
  99.      Special Error Conditions:  -None-
  100. :PA3DC, LA3DC, MA3DC
  101.      Routine Names:  PA3DC, LA3DC
  102.      Function║
  103.           Prin⌠ ┴ a≤ threσ (3⌐ decima∞ character≤ oε CON║ (PA3DC⌐ ì
  104. o≥ LST║ (LA3DC).
  105.      Inputs:  A = value to be printed
  106.      Outputs:  -None- (Value is printed)
  107.      Registers Affected:  -None-
  108.      SYSLIB Routines Called:  POUT (for PA3DC); LOUT (for LA3DC)
  109.      Special Error Conditions:  -None-
  110.  
  111.  
  112.      Routine Name:  MA3DC
  113.      Function║
  114.           Storσá ┴ a≤ threσ (3⌐ decima∞ character≤ iε thσá 3-bytσ ì
  115. memor∙ buffe≥ pointeΣ t∩ b∙ DE«  Oε return¼ DE point≤ t∩ thσ bytσ ì
  116. afte≥ thσ buffer.
  117.      Inputs:  A = value to be converted and stored
  118.               DE points to the 3-byte buffer
  119.      Outputs:  DE points to the byte after the buffer
  120.      Registers Affected:  DE
  121.      SYSLIB Routines Called:  -None-
  122.      Special Error Conditions:  -None-
  123. :PADC, LADC, MADC
  124.      Routine Names:  PADC, LADC
  125.      Function║
  126.           Prin⌠á ┴á a≤á u≡ t∩ threσ (3⌐ decima∞á character≤á witΦ ì
  127. leadinτ space≤ (<SP>⌐ oε CON║ (PADC⌐ o≥ LST║ (LADC).
  128.      Inputs:  A = value to be printed
  129.      Outputs:  -None- (Value is printed)
  130.      Registers Affected:  -None-
  131.      SYSLIB Routines Called:  POUT (for PADC); LOUT (for LADC)
  132.      Special Error Conditions:  -None-
  133.  
  134.  
  135.      Routine Name:  MADC
  136.      Function║
  137.           Storσá ┴á a≤ u≡ t∩ threσ (3⌐á decima∞á character≤á witΦ ì
  138. leadinτ space≤ iε thσ 3-bytσ memor∙ buffe≥ pointeΣ t∩ b∙ DE«á  Oε ì
  139. return¼ DE point≤ t∩ thσ bytσ afte≥ thσ buffer.
  140.      Inputs:  A = value to be converted and stored
  141.               DE points to the 3-byte memory buffer
  142.      Outputs:  DE points to the byte after the buffer
  143.      Registers Affected:  DE
  144.      SYSLIB Routines Called:  -None-
  145.      Special Error Conditions:  -None-
  146.