home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
simtel
/
sigm
/
vols000
/
vol089
/
syslib5.hlp
< prev
next >
Wrap
Text File
|
1985-02-09
|
6KB
|
146 lines
Output HL as 4 Hexadecimal Characters
Output HL as 5 Decimal Characters
Output HL as Up to 5 Decimal Characters with Leading Spaces
Output A as 2 Hexadecimal Characters
Output A as 3 Decimal Characters
Output A as Up to 3 Decimal Characters with Leading Spaces
:PHL4HC, LHL4HC, MHL4HC
Routine Names: PHL4HC, LHL4HC
Function║
Prin⌠á H╠á a≤ fou≥ (4⌐ hexadecima∞ character≤á oεá CON║ ì
(PHL4HC⌐ o≥ LST║ (LHL4HC).
Inputs: HL = value to be printed
Outputs: -None- (Value is printed)
Registers Affected: -None-
SYSLIB Routines Called: PA2HC (for PHL4HC);
LA2HC (for LHL4HC)
Special Error Conditions: -None-
Routine Name: MHL4HC
Function║
Storσá H╠ a≤ fou≥ (4⌐ hexadecima∞ character≤ iε thσá 4-ì
bytσ memor∙ buffe≥ pointeΣ t∩ b∙ DE« Oε return¼ D┼ point≤ t∩ thσ ì
bytσ followinτ thi≤ buffer.
Inputs: HL = value to be converted and stored
DE points to 4-byte buffer
Outputs: DE points to byte after buffer
Registers Affected: DE
SYSLIB Routines Called: MA2HC
Special Error Conditions: -None-
:PHL5DC, LHL5DC, MHL5DC
Routine Names: PHL5DC, LHL5DC
Function║
Prin⌠á H╠á a≤á fivσá (5⌐á decima∞á character≤á oεá CON║ ì
(PHL5DC⌐ o≥ LST║ (LHL5DC).
Inputs: HL = value to be printed
Outputs: -None- (Value is printed)
Registers Affected: -None-
SYSLIB Routines Called: POUT (for PHL5DC); LOUT (for LHL5DC)
Special Error Conditions: -None-
Routine Name: MHL5DC
Function║
Storσá H╠ a⌠ fivσ (5⌐ decima∞ character≤ iεá memor∙á iε ì
thσ 5-bytσ buffe≥ pointeΣ t∩ b∙ DE«á Oε return¼ D┼ point≤ t∩ thσ ì
bytσ afte≥ thi≤ buffer.
Inputs: HL = value to be converted and stored
DE points to a 5-byte buffer
Outputs: DE points to the byte following the buffer
Registers Affected: DE
SYSLIB Routines Called: -None-
Special Error Conditions: -None-
:PHLDC, LHLDC, MHLDC
Routine Names: PHLDC, LHLDC
Function║
Prin⌠á H╠á a≤á u≡ t∩ fivσ (5⌐ decima∞á character≤á witΦ ì
leadinτ space≤ (<SP>⌐ oε CON║ (PHLDC⌐ o≥ LST║ (LHLDC).
Inputs: HL = value to be printed
Outputs: -None- (Value is printed)
Registers Affected: -None-
SYSLIB Routines Called: POUT (for PHLDC); LOUT (for LHLDC)
Special Error Conditions: -None-
Routine Name: MHLDC
Function║
Storσá H╠á a≤ u≡ t∩ fivσ (5⌐á decima∞á character≤á witΦ ì
leadinτ space≤ iε thσ 5-bytσ memor∙ buffe≥ pointeΣ t∩ b∙ DE.
Inputs: HL = value to be converted and printed
DE points to the 5-byte buffer
Outputs: DE points to the byte after the buffer
Registers Affected: DE
SYSLIB Routines Called: -None-
Special Error Conditions: -None-
:PA2HC, LA2HC, MA2HC
Routine Names: PA2HC, LA2HC
Function║
Prin⌠á ┴á a≤á tw∩ (2⌐ hexadecima∞á character≤á oεá CON║ ì
(PA2HC⌐ o≥ LST║ (LA2HC).
Inputs: A = value to be printed
Outputs: -None- (Value is printed)
Registers Affected: -None-
SYSLI┬á Routine≤ Called║ E╬ (fo≥ both)╗á POU╘ (fo≥ PA2HC)╗á LOU╘ (fo≥ ì
LA2HC)
Special Error Conditions: -None-
Routine Name: MA2HC
Function║
Storσ ┴ a≤ tw∩ (2⌐ hexadecima∞ character≤ iε thσ 2-bytσ ì
memor∙á buffe≥ pointeΣ t∩ b∙ DE«á Oε return¼á DE point≤ t∩á bytσ ì
afte≥ buffer.
Inputs: A = value to be converted and stored
DE points to 2-byte buffer
Outputs: DE points to byte after this buffer
Registers Affected: DE
SYSLIB Routines Called: EN
Special Error Conditions: -None-
:PA3DC, LA3DC, MA3DC
Routine Names: PA3DC, LA3DC
Function║
Prin⌠ ┴ a≤ threσ (3⌐ decima∞ character≤ oε CON║ (PA3DC⌐ ì
o≥ LST║ (LA3DC).
Inputs: A = value to be printed
Outputs: -None- (Value is printed)
Registers Affected: -None-
SYSLIB Routines Called: POUT (for PA3DC); LOUT (for LA3DC)
Special Error Conditions: -None-
Routine Name: MA3DC
Function║
Storσá ┴ a≤ threσ (3⌐ decima∞ character≤ iε thσá 3-bytσ ì
memor∙ buffe≥ pointeΣ t∩ b∙ DE« Oε return¼ DE point≤ t∩ thσ bytσ ì
afte≥ thσ buffer.
Inputs: A = value to be converted and stored
DE points to the 3-byte buffer
Outputs: DE points to the byte after the buffer
Registers Affected: DE
SYSLIB Routines Called: -None-
Special Error Conditions: -None-
:PADC, LADC, MADC
Routine Names: PADC, LADC
Function║
Prin⌠á ┴á a≤á u≡ t∩ threσ (3⌐ decima∞á character≤á witΦ ì
leadinτ space≤ (<SP>⌐ oε CON║ (PADC⌐ o≥ LST║ (LADC).
Inputs: A = value to be printed
Outputs: -None- (Value is printed)
Registers Affected: -None-
SYSLIB Routines Called: POUT (for PADC); LOUT (for LADC)
Special Error Conditions: -None-
Routine Name: MADC
Function║
Storσá ┴á a≤ u≡ t∩ threσ (3⌐á decima∞á character≤á witΦ ì
leadinτ space≤ iε thσ 3-bytσ memor∙ buffe≥ pointeΣ t∩ b∙ DE«á Oε ì
return¼ DE point≤ t∩ thσ bytσ afte≥ thσ buffer.
Inputs: A = value to be converted and stored
DE points to the 3-byte memory buffer
Outputs: DE points to the byte after the buffer
Registers Affected: DE
SYSLIB Routines Called: -None-
Special Error Conditions: -None-