Inputs: HL points to the first byte of the string to convert
String is loaded in a buffer
Outputs: HL points to next character after converted string
DE contains 16-bit value
A = E
CARR٠ Fla� Se� mean� a� erro� wa� encountere� i� strin� �
format
Registers Affected: PSW, DE, HL
SYSLIB Routines Called: CAPS, EVAL16, EVAL10, EVAL8, EVAL2
Specia� Erro� Conditions�
CARR٠ Fla� Se� indicate� tha� a� erro� wa� encountere� �
i� th� evaluatio� o� th� string�� i� so�� H̠ point� t� th� �
offendin� character
Routine Name: EVAL16
Function�
EVAL1��� convert� th� strin� o� ASCIɠ� hexadecima� �
character� pointe� t� b�� H̠ int� � 16-bi� binar�� value� �
Conversio� progresse� unti� a� invali� hexadecima� digi� (0-9� A-�
F� i� encountered.
Inputs: HL points to the first byte of the string to convert
String is loaded in a buffer
Outputs: HL points to the offending character
DE contains the 16-bit value
A = E
Registers Affected: PSW, DE, HL
SYSLIB Routines Called: CAPS
Special Error Conditions: -None-
Routine Name: EVAL10
Function�
EVAL1� convert� th� strin� o� ASCI� decima� character� �
pointe� t� b�� H̠ int� � 16-bi� binar�� value�� Conversio� �
progresse� unti� a� invali� decima� digi� (0-9� i� encountered.
Inputs: HL points to the first byte of the string to convert
String is loaded in a buffer
Outputs: HL points to the offending character
DE contains the 16-bit value
A = E
Registers Affected: PSW, DE, HL
SYSLIB Routines Called: -None-
Special Error Conditions: -None-
Routine Name: EVAL8
Function�
EVAL�� convert� th� strin� o� ASCIɠ octa� character� �
pointe� t� b�� H̠ int� � 16-bi� binar�� value�� Conversio� �
progresse� unti� a� invali� octa� digi� (0-7� i� encountered.
Inputs: HL points to the first byte of the string to convert
String is loaded in a buffer
Outputs: HL points to the offending character
DE contains the 16-bit value
A = E
Registers Affected: PSW, DE, HL
SYSLIB Routines Called: -None-
Special Error Conditions: -None-
Routine Name: EVAL2
Function�
EVAL�� convert� th� strin� o� ASCI� binar�� character� �
pointe� t� b�� H̠ int� � 16-bi� binar�� value�� Conversio� �
progresse� unti� a� invali� binar� digi� (0-1� i� encountered.
Inputs: HL points to the first byte of the string to convert
String is loaded in a buffer
Outputs: HL points to the offending character
DE contains the 16-bit value
A = E
Registers Affected: PSW, DE, HL
SYSLIB Routines Called: -None-
Special Error Conditions: -None-