Intel IUP-200A Getting Started page 35

Hide thumbs Also See for IUP-200A:
Table of Contents

Advertisement

* 0 TO A:\LOWER.BYT
OUTPUT STORED
» OTO A:\UPPER.BYT
» <CR>
PPS>
Comments
The asterisk (*) is the prompt for the output specification (how you want the data in the file to
be manipulated in terms of logical units). In this example, the least significant byte in each
input block is stored in a file titled LOWER.BYT. The i
S then sorts through the DOUBLE.
BYT file and copies every even byte into the LOWER. BYT file. Next, it specifies that the most
significant byte be stored in a file titled U
ER.BYT. The i
S then sorts through the
DOUBLE.BYT file and copies every odd byte to the U
ER.BYT file. OUT UT STORED is
then displayed after each output specification is implemented. You then have the option of
entering another output specification, or a <CR> to exit.
PPS> DISPLAY A:\DOUBLE. BYT(0,L20)
000000: C3 HO 00 20 20 UH 20 2D 20 UH HI S3 U6 00 20 20
-3- D-DISK-
000010: H7 20 2D 20 H7 US HE US 52 Ml UC 00 20 20 H8 20
- ENERAL- K
PPS> DISPLAY A:\LOWER. BYT(0,L10)
000000: C3 00 20 20 20 HR Hfl 20 U7 2D U7 HE 52 HC 20 Hfl
-- IK
- NRL K
PPS> DISPLAY A:\UPPER. BYT(0,L10)
000000: HO 20 UH 2D HU S3 00 20 20 20 U5 US Hl 00 20 20
3D-DS- EEA-
Comments
By displaying the first few lines of the DOUBLE.BYT, LOWER.BYT, and U
ER.BYT files,
you can see that the even address bytes in the DOUBLE.BYT file are stored in the LOWER-
.BYT file and the odd address bytes are stored in the U
ER.BYT file.
Example Programming Session
4-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iup-201a

Table of Contents