Download Print this page

IBM 4300 Manual page 277

Processors principles of operation for ecps: vse mode
Hide thumbs Also See for 4300:

Advertisement

o
2 3 4
5
6
7
8
9 ABC
0
E
P
200
201
202
203
204
205
206
207
208
209
20A
20B
20C
200
20E
20F
40
40
40
40
04
14
24
40
40
40
40
40
40
40
40
00
40 40
40 40
40 40
40 40
40 40
40 40
28 40
40 40
40 40
40 40
40 40
40 40
00 00
00 00
40 00
00 00
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
40 40 40 40
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
40 40 40 40 40 40 40
40 40 40 40 4-0 40 40
40 40 40 40 40 40 40
40 40 40 40 40 40 40
40 40 40 40 08 40 OC
40 40 40 40 18 1C 20
40 40 40 40 2C 40 40
40 40 40 40 30 34 38
40 40 40 40 40 40 40
40 40 40 40 40 40 40
40 40 40 40 40 40 40
40 40 40 40 40 40 40
00 00 00 40 40 40 40
00 00 00 40 40 40 40
00 00 00 40 40 40 40
00 00 00 40 40 40 40
Note: If the character codes in the statement
being translated occupy a range smaller than
40 40
40 40
40 40
40 40
10 40
40 40
40 40
3C 40
40 40
40 40
40 40
40 40
40 40
40 40
40 40
40 40
00 through FF
16 ,
a table of fewer than 256 bytes
can be used.
Translate and Test Table
The table entries for the alphameric characters in
EBCDIC are 00; thus, the letter A (code
Cl)
corresponds to byte location 20C 1, which contains
00.
The 15 special symbols have nonzero entries
from 04
16
to 3C
16
in increments of 4. Thus, the
blank (code 40) has the entry 04
16 ,
the period
(code 4B) has the entry 08
16 ,
and so on.
All other table positions have the entry 40
16
to
indicate an invalid character.
The table entries are chosen so that they may be
used to select one of a list of 16 words containing
addresses of different routines to be entered for
each special symbol or invalid character
encountered during the scan.
Assume that this list of 16 branch addresses is
stored at locations 3004-3043.
A-24
IBM 4300 Processors Principles of Operation
Starting at storage location CA80, there is the
following sequence of 2110 EBCDIC characters:
Locations CA80-CA94: UNPKbPROUT(9),WORD(5)
Also assume:
Register 1 contains 00 00 2F FF.
Register 2 contains 00 00 30 00.
Register 15 contains 00 00 20 00.
As the instruction:
Machine Format
Op Code
L
DO
14
Assembler Format
Op Code
01(L,B1),02(B2)
TRT
1(21,1),0(15)
F
I
0001

Advertisement

loading