Texas Instruments 990 Operation Manual page 103

Prototyping system
Hide thumbs Also See for 990:
Table of Contents

Advertisement

J17.5\ _ _ _ _ _ _ _
~
945255-9701
Calling arguments:
1ST BYTE
2ND BYTE
o
B
<error code>
2
<sign>
-
4
-
<value>
-
6
The sign parameter may be plus, minus, ASCII zero or a blank. The value parameter is a decimal
ASCII value between -32,768 and +32,767, inclusive. The value parameter must be right justified
with leading ASCII zeros or blanks. The result is returned in the caller's workspace register O.
Result: The decimal ASCII value in the supervisor call block is converted to a 2's complement
value in the caller's workspace register O.
Error code: The error code is set to one if there is an invalid character or if the resultant value is
outside the range -32,768 to +32,767.
3.5.3.4 Binary to Hexadecimal ASCII. The Binary to Hexadecimal ASCII supervisor call con-
verts binary data to hexadecimal ASCII character code. The parameter block contains six bytes.
Supervisor call code:
C
Calling arguments:
1 ST BYTE
2ND BYTE
o
c
I
2
-
<value>·
-
4
Workspace register 0 contains the value to be converted. The value parameter is the converted
hexadecimal ASCII value.
,
Result: The value in workspace register 0 is 'converted to the corresponding ASCII representation
in the supervisor call block.
3.5.3.5 Hexadecimal ASCII to Binary. The Hexadecimal ASCII to Binary supervisor call con-
verts hexadecimal ASCII character code to binary data. The parameter block contains six bytes.
Supervisor call code:
D
3-65
Digital Systems Division

Advertisement

Table of Contents
loading

Table of Contents