|
DECIMAL TO HEXADECIMAL AND HEXADECIMAL TO ASCII LIBRARY
All programs for conversions from decimal to hexadecimal and hexadecimal to ASCII can be saved as a library. This is in the \PHY353\CONVLIB sub-directory. the main version of these programs are in \PHY353\CONVERT. The steps are the same as that for creating ARI16.LIB. The main versions are converted to sub-procedure and saved in a separate sub-directory \PHY353\CONVLIB. The following steps are then followed:
a) You must start with the procedures:
i) DECI16_P.ASM
ii) DECI32_P.ASM
iii) DECO16_P.ASM
iv) DECO32_P.ASM
v) DECO64_P.ASM
a) All the sub-procedures have to go through “MASM” as shown below:
i) MASM DECI16_P.ASM
ii) MASM DECO16_P.ASM
iii) MASM DECI32_P.ASM
iv) MASM DECO32_P.ASM
v) MASM DECO64_P.ASM
The “MASM” should go through “0 warning errors,” and “0 severe errors.” At end, we will get the corresponding binary object files, as show below:
|