I fllflflfflfflfflfflf hhhhhhhhhhhhhI EhhhhhhhhhhhIN · 1.0_ 11 l.199 1.8 il ii1? li1.25 11.4 i...
Transcript of I fllflflfflfflfflfflf hhhhhhhhhhhhhI EhhhhhhhhhhhIN · 1.0_ 11 l.199 1.8 il ii1? li1.25 11.4 i...
D-A12i 543 MICROPROCESSO IMPLEMENTATION OF OPTIONAL FUNCTIONS OF IniSYNCHRONOUS BIT-OR..(U) DELTR INFORMATION SYSTEMS INCJENKINTOWN PA S URBAN 19 MAY 62 NCS-TIB-82-3 N
UCASIFIED DC~iBe-Bi-C-825 .F/G 17/2 NmhhhhhONE2hhhhhhl0 111
I fllflflfflfflfflfflfhhhhhhhhhhhhhIEhhhhhhhhhhhIN
1.0_ 11 199 L.
1.8
IL II1?li1.25 11.4 I
MICROCOPY RESOLUTION TEST CHARTNATIONAL BUREAU OF STANDAROS - 163 - A
ADA121.543NCS TIB 82-3
NATIONAL COMMUNICATIONS SYSTEM
TECHNICAL INFORMATION BULLETIN82-3
MICROPROCESSOR IMPLEMENTATIONOF OPTIONAL FUNCTIONS OF
SYNCHRONOUS BIT-ORIENTED DATALINK CONTROL PROCEDURES
DTICMAY 1982 ELECTE)L,NOV 15199 !
APPROVED FOR PUBLIC RELEASEDISTRIBUTION UNLIMITED
REPORT DOCUMENTATION PAGE READ INSTRUCTIONSRBEFORE COMPLETING FORM
I. REPORT NUMBER |2. GOVT ACCESSION NO 3. RECIPIENT'S CATALOG NUMBER
NCS-TIB 82-3 AP-Aia,-- SY. _ _ __
4. TITLE (and Subtitle) S. TYPE OF REPORT & PERIOD COVERED
Microprocessor Implementation of Optional
Functions of Synchronous Bit-Oriented Data FINAL
Link Control Procedures S. PERFORMING ORG. REPORT NUMBER
7. AUTHOR(s) S. CONTRACT OR GRANT NUMBER(e)
Steve Urban DCA100-81C0025
9. PERFORMING ORGANI1ZATION NAME AND ADDRESS 10. PROGRAM ELEMENT. PROJECT, TASK
Delta Information Systems, Inc. AREA & WORK UNIT NUMBERS
259 Wyncote RoadJenkintown, PA 19046
7" I. CONTROLLING OFFICE NAME AND ADDRESS 12. REPORT DATE
National Communications System May 19,1982
Office of Technology and Standards 13. NUMBER OF PAGES
Washington, DC 20305 7314. MONITORING AGENCY NAME A ADORESS(If different from Controlling Office) IS. SECURITY CLASS. (of this report)
UNCLASSIFIEDr IS&. DECL ASSI FIC ATION/DOWNGRADING
SCHEDULE
16. DISTRIBUTION STATEMENT (of this Report)
Approved for Public Release; Distribution Unlimited
17. DISTRIBUTION STATEMEW-
(of the abtteoct etered In Block 20, If different from Report)
IS. SUPPLEMENTARY NOTES
19. KEY WORDS (Continue on reveree side It neceesry and Identify by block number)
Telecommunications Data Transmission Systems
Data Link Protocols, CommunicationsMicroprocessorsADCCP
20. AMTlACT (Cattm M revelm shb it nerwey and Identify by block number)'-This report contains a block diagram, flow charts, and computer programming
for the following optional functions in Federal Standard 1003 (Synchronous
Bit Oriented Data Link Control Procedures): Address Extention Function
for all three classes of procedures (Unbalanced Normal, Palanced
Asynchronous, and Unbalanced Asynchronous); Reset Function for the Balanced
Aysnchronous class of procedure only; Delete Command I Frame Function for
all three classes of procedures; Delete Response I Frame Function for all
three classes of procedures; unnumbered Polling Function for all three
DD 1473 DTflONOP t NOV 65 IS OSOLETE UNCLASSIFIED
SECURITY CLASSIFICATION OF THIS PAGE (Wen Dote Entered)
S .,..: . *v-
classes of procedures..
FAccessi-on For
NTISGA&DTIC TABUnannounced
Just iticat io
Distribution/Availabiijty Codes
jAvail and/OX.Dist Special
UNCLASSIFIED
SECURITY CLASSIFICATION OF THIS PAGE'nIeI Data Ente**
NCS TECHNICAL INFORMATION BULLETIN 82-3
MICROPROCESSOR IMPLEMENTATION OF OPTIONAL FUNCTIONSOF
SYNCHRONOUS BIT-ORIENTED DATA LINK CONTROL PROCEDURES
May 1982
PREPARED BY: APPROVED FOR PUBLICATION:
DELTA INFORMATION SYSTEMS, INC. MARSHALL L. CAIN310 Cottman Street Assistant ManagerJenkintown, Pennsylvania 19046 Office of NCS Technology
and Standards
FOREWORD
Among the responsibilities assigned to the Office of the Manager, NationalCommunications System, is the management of the Federal TelecommunicationStandards Program. Under this program, the NCS, with the assistance of theFederal Telecommunication Standards Committee identifies, develops, andcoordinates proposed Federal Standards which either contribute to theinteroperability of functionally similar Federal telecommunication systems orto the achievement of a compatible and efficient interface between computerand telecommunication systems. In developing and coordinating these standardsa considerable amount of effort is expended in initiating and pursuing jointstandards development efforts with appropriate technical committees of theElectronic Industries Association, the American National Standards institute,the International Organization for Standardization, and the InternationalTelegraph and Telephone Consultative Committee of the InternationalTelecommunication Union. This Technical Information Bulletin presents anoverview of an effort which is contributing to the development of compatibleFederal, national, and international standards in the area of data linkcontrol procedures. It has been prepared to inform interested Federalactivities of the progress of these efforts. Any comments, inputs orstatements of requirements which could assist in the advancement of this work,are welcome and should be addressed to:
Off ice of the ManagerNational Communications SystemATTN: NCS-TS (Frank McClelland)Washington, D.C. 20305(202) 692-2124
MICROPROCESSOR IMPLEMENTATION OF
OPTIONAL FUNCTION OF SYNCHRONOUS
BIT-ORIENTED DATA LINK CONTROL
PROCEDURES
Final Report
Submitted To:
NATIONAL COMMUNICATIONS SYSTEM
Office of Technology and Standards
Washington, D.C. 20305
Contracting Agency:
DEFENSE COMMUNICATIONS AGENCY
Contract Number
DCAI00-81-C-0025
May 19, 1982
Submitted By:
D E L T A I N F 0 R M A T I 0 N S Y S T E M S, I N C.
310 Cottman Street
Jenkintown, Pennsylvania 19046
TABLE OF CONTENTS
Page
1.0 Introduction 1-1
2.0 System Design Considerations 2-1
3.0 Address Extension Function 3-1
4.0 Delete Reset Function 4-1
5.0 Delete Command or Response I-Frame 5-1
6.0 Unnumbered Polling Function 6-1
7.0 Initialization Function 7-1
8.0 Unnumbered Information Function 8-1
9.0 References 9-1
ILLUSTRATIONS
Figure Page
2-1 System Block Diagram 2-2
2-2 Variables and Parameters 2-4
2-3 Read Data Byte Macro. 2-9
2-4 ISRREAD 6856 Protocol Chip 2-10
3-1 RCV Process 3-2
3-2 RCNTRL Subroutine 3-3
3-3 Extended Address Handler 3-4
3-4 Receive Process Code 3-5
3-5 RCNTL Code 3-10
4-1 Receive RSET Command 4-2
4-2 Transmit RSET 4-3
4-3 Receive RSET Command Code 4-4
5-1 SENDI Process 5-3
5-2 SENDI Process Code 5-5
5-3 Delete I-Frame Transmission 5-9
5-4 Delete Response I Transmission Code 5-10
5-5 Receive I Subroutine 5-12
5-6 Receive I Frame Code 5-13
6-1 Receive UP Command 6-2
6-2 Receive UP Command Code 6-3
6-3 SENDI Modifications for UP 6-6
6-4 SNDRNR Modifications for UP 6-7
7-1 Receive SIM Command 7-2
7-2 Receive SIM Command Code 7-3
7-3 Transmit RIM Response 7-6
7-4 Transmit RIM Command Code 7-7
7-5 Modification for SIM/RIM 7-10
8-1 Receive UI Subroutine 8-2
8-2 Receive UI Frame Code 8-3
4
I
I--
1.0 INTRODUCTION
This document summarizes the work performed by Delta
Information Systems, Inc. for the Office of Technology and
Standards of the National Communications System, an organi-
zation of the U.S. Government, under Purchase Order
DCA10O0- 8 1-C-0 025. The Of fice of Technology and S tandard s,
headed by National Communications System Assistant Manager
Marshall L. Cain, is responsible for the management of the
Federal Telecommunications Standards Program, which develops
telecommunication standards whose use is mandatory by all
Federal agencies. The objective of this program is to develop
a block diagram, flow charts, and computer programming
for the following tasks in accordance with Federal Standard
1003.
Address Extention Function for all three classes of
procedures (Unbalanced Normal, Balanced Asynchronous,
and Unbalanced Asynchronous).
-Reset Function for the Balanced Aysnchronous class
of procedure only.
-Delete Command I Frame Function for all three classes
of procedures.
-Delete Response I Frame Function for all three classes
of procedures.
-Unnumbered Polling Function for all three classes of
procedures.
-Initialization Function for all three classes of
procedures.
-Unnumbered Information Function for all three classes
of procedures.
The purpose of this effort is to determine the feasibility
of using the M6800 or similar microprocessor to implement
this type of protocol, and to obtain an estimate of memory
and processor resources that would be required. The office
of Technology and Standards will use the information to
advise other Federal agencies who implement the standard
and, when merged with the results of other studies, to evaluate
the operational and economic impact of incorporating various
options in Federal Standard 1003.
The effort necessarily has focussed on the software
required to implement the protocol itself, and is by no
means a total hardward/software system design that would be
required to develop a complete system. Complete system
development is, of course, beyond the scope of this program.
Section 2 of this report contains a discussion of the
method of implementation for the seven listed options and
a list of state variables and parameters. Sections 3 through
8 include flow charts, code and a discussion of memory
requirements and throughput for each of the options. The
code was assembled on a 6800 cross-assembler and tested on
* 1 6800 microcomputer supplied by Delta Information Systems.
1-2
2.0 SYSTEM DESIGN CONSIDERAI'IONS
The block diagram in Figure 2-1 shows a link with one
primary/combined and one secondary/combined station communicating
with eich other by sending information in both directions. That
is, either station may be a source or sink of data or both.
Two-way simultaneous transmission is assumed. Although manyI'
secondary stations may communicate with one primary station,
the objectives of this program can be met with no loss of
generality, by assuming the existence of only one secondary
station.
Each station, primary, secondary, or combined is made
up of a microcomputer, an LSI interface to the link, and a
user which supplies and uses the data to be communicated. The
primary and secondary stations Are physcially very similar;
operationally, of course, the primary must supervise and control
a number of secondary stations, and thus it requires a larger
data structure and somewhat more complicated code.
For the purpose of this program, the microcomputer
can be assumed to be very basic-microprocessor, memory (RAM
and ROM), interface chips, clock, etc. A discussion of
the interface chips, operating system considerations and
general design features may be found in a previous report. (1)
The objective of this effort is to determine the
incremental change in the number of instructions and processor
time required for each of seven optional functions listed
above, implemented on a Motorola 6800 microprocessor. These
2-1
AA
II-
6I 2-2Fl]
optional functions are achieved by the addition, or deletion,
of commands and responses with respect to those present in
one of the three basic classes of procedures.
No attempt has been made to produce a single basic
design to accomodate all of the options one at a time or
in combinations; in other words, each option is implemented
starting from the same previously designed baseline so that
the effect on memory requirements and throughput can be
evaluated for each option.
Detailed flow charts and code for each option are
compared with those of the baseline system to obtain the
differenrce in memory requirements and throughput.
Those state variables and other parameters that are
used by more than one routine and included in the code in
the following s~ctions are defined in Figure 2-2. A discussion
of these may be found in Reference 1. Two of the flow charts
in this previous report required some minor changes. These
are included in Figures 2-3 and 2-4.
2-3
am
* U°
a 0 0go ii
i is""Lao O
a ; a*in x
...m........ °° °.
P C
-U a inm Ua .a OmO g O O O~
m a w :wl f O IOO wAO wOOO IIO
* * ****atIt, 00m~nm*
- * . *66U4U *a
.,a.wo -0 emaaauamm inG* a..* uc.awma
lug v
to 3ini
IS
4lb
Ma
-w a a"a ;0 v maA"
4W W a 36"aa.
on ma w u r aaaMA 3 .
4W'
U ea. so* A
46 WUU W WW W
* ~ ~ ~ 0 MM 11U.44W C.a*4W4~U 4W 8 4WU4ws~w :swwC . 4
mawa 0 W .iu~m .ease:
%*% 04*W4 .U *4
ad-
bo a I
lb,
am a-a bo
"m = 4 dN m
-f" oo as
VAh
w 4
so.
f6
WO.
Mana sas a ow www 0111111 w wwoa O.J0 06
f-;m .j &0:.znw :0 S gns bi"401,- a
V*1K
E~4
SIiaSb.
- * - 0~ Ph~
IIgg I
w P~ ft .* 60
bIJSSSSF. '~. ~0 w
L
-DiSALe"PV.r~r ~t~~
DAA CLX LIJ Pt- t -7U.
MA4
Figure 2-3. Read Data Byte Macro.
2-9
K'..1O44L
LFL
Figure 2-4. ISR- READ 6856 Protocol Chip.
N-
3.0 ADDRESS EXTENSION FUNCTION
This option provides for greater than single octet
addressing by means of the Extended Address Format. The
extended format provides an address field which is made up
of a sequence of octets, each having a "0" (Zero) as the
first bit of the octet except for the last octet which has
a "1" in the first bit position.
Processing of the received address is accomplished in
the Receive Process (RCV). The flow chart for the RCV
process is shown in Figure 3-1. A major subroutine called by
RCV, the RCNTRL subroutine which processes the control field,
is given in Figure 3-2. An expanded flow chart of the
extended address handler is given in Figure 3-3. The 6800
assembly language code for the RCV process and the RCNTRL
subroutine is presented in Figures 3-4 and 3-5 respectively.
The number of instructions required to perform the
extended address can be estimated by examining Figure 3-4.
The code for address processing is included in lines 52
through 132. Examination of this code shows that few (less
than ten) additional instructions are required to perform
the extended addressing function as opposed to single octet
addressing. The extra processing time required to handle the
extended address is negligible; however, there is a minor
effect on throughput due to the increase in message length.
The effect is vezy small for I/UI frames azd somewhat larger
for supervisory and other unnumbered frames.
3-1
A~.S ICMOps I" g avas ~awww
L .3
WI
DIS
Figure 3-1 RCV Process
3-
4rr iJ&'cr
L.e~
FWgOe A0~ VANL Subouin
Figre 3- CTLSbotn
TpI
II
4 040
YES LO g/..
N~o
Owr o7oA
YE
fbiauae 3-.-trodAdes lnl:i sr &IM ai
U4e Pz
44
ab a M 0
It's 400-m am. a
lb :0 so W
ab lba
1- a 0: b! : 4a
46r :: U a UOm*-I MU U S 631 05 3
u3 n a.1-
a * au
af a 0 l 3k lb
*0- mm W . a
49l lW3 l
oftwCoft-oo .0r.
aIm
aa40
493 w
lb =UlbW w- as
to a.
4 m3
o mm i m ma
IL SO* UUm SUp a a-
ma wi wow w isU a a= am
P. -I& U U
. a M AMc
a-- 's cc-ft , t :f: f ftO::;:: a,- ft ;"a * ba a-
a w
da.46 '9
0 a Id
: 440 a 0 ft
oil u .a . ae
6.b. -.
0 a a a Ub0Aam
a .6 !::::we a a a. n. %14 au 0 46 - 4 U
-0 w a a. I- a 2 a
he~Is m u U a.o OV #A 046 .06 a
as : mI& a a to. a.pso a w P. aata0,f,
... .. .. .. . ..a... ------g a m
a.m10
eaa
5 a9z a 1
as a a la s a.w 40,
w w - Wea aa I3 a wa
-9 a A
1 46ma wooaOW. * a a.
3-4 39 a : a a-
w 43
a & 3 0.&.
lag 2b 0_0 a. a
40 a a * mC .W ~
0 4 . a af Of fttC0 br
a a :: ee ilff*~oso oft-ee @ 4* a~x., - a~ m em .*e . a~ e.
a.-0 m a. m c . d .~ a ~ a u
1
U,
w6a.
a.
*0
U
6wa- 6
-I
**6U
p-4-he- 6 mm w* ma a.
6 - Wa -I"U* 6 a - t.a* ae 6@ a- a a - -Uem *- a t~ ~6 6 ew -~aqu a..em Id - 6 *a ft p~ *inU - - -- - - - a -em w 4a a
* Id - a - a - a a a a - a -a U I I I I~m a
Ii ftftammmmm~n. Nmebmmrd 6a.m..
~ I - II III aIda
em~ t4@WmC46*Qa.UI*@...a ftaU@@a.S....a *eweeeae.e..... ***U*ae~* s*uu***u**...... ***a.....he S@SS***@****ee** *066*SSe.*Wa.ma.mwmmm&. Wm US *S.a.Sg.g.
-- Ib~ ~he .1 6 a. ~ aIdU..a amId. *a U -' lb SMOaa aU *501-U 3 32I.lbih.M3e~;u going* *QU*6UaS.*USUOUU. *UUb.h.b.Uemem.1 *O0UIda.a.a.u.a.,aUuaaa aeem..uma
m u116 a .
a.3 W0~ 0 W C
10aa
NOW 0. Z.
aw a0 asb
-no a U a
a w a - Ind
.4 -3 a 4; a
a. a a-maius -6 Wa4a 1 a a 16
- am- aOn a mM 2 a:Z2 a a:5 :2ma~
@am
04 .0 04.ar a m ab s : a P. aU m aUaa.d~mb.-m:::"b .~a w uot lbw ww u a bU t a
m so uaa Uab - m u me u0 0: so : .4 a a m -a see mese so ma 0 a acm 0aa ern
44
b. 'ad
waa-
ma lbm
04 a- a
I m sea map
ma 6. ~w a0 -
ma.~~1 01 0 1 .~ aama a-O
woz maz 00="00,0 we ae e :000:000000:0 03*a on 00 0 - a- -urn mama wa- was
al :; :o ::a sob loap:*Un-
me3a m eaa mmS~ -- a-
iL1
I! I I .
ftI Q II I I
Ag lI~ll~' OaI OI I I
IaI I II I l
a.
=°° °=°== °=°°U U U UUft
df
1 ° ° iVIa
of-
ooo oooo aooo m~a
o e ~ ~ olgm l oo
oo*ioo~~ oo• ~ o o o~~ l l oU
I ii i ii i ii i i ia i m 9I
I"&340.
6
*aa U
ag aa U,
S*a -. .. U~ 2* U, ~ mU
.9 Em I* U as
U.d W* U *e U, 0.0. W ~ft. UU ~- lb IId W* S
* .~.q*w0.* @0.0. *f4*U6 U a~e.-uImue 0.t.4W us~m** ~d -* ~JIi U
Id* aemetin-~eeemm.ewu....Ii *qW~ EWEWUU W~UUIi. a * ,*SiU
6
Ua *.me~u-e 3 U,~- 0..d *U'.@EUR* **@* *@@USSU@*@@.S.....* *@@ue@eeeeeS@SeS..
w&a.su&s.a UW&aug.e.g,
*.~ UUOblbUUUUU&U*Ub.~
I
4.0 DELETE RESET FUNCTION
This option removes the ability to reset the Send and
Receive variables associated with only one 4irection of
information flow by the deletion of the RSET command. This
applies to the Balanced, Asynchronous class of procedures
only.
Processing of the Reset function (RSET) is accomplished
in the two routines RSET and TR-RSET used respectively for
receive and transmit. Flow charts for these two routines are
presented in Figures 4-1 and 4-2. Assembly language code
for the receive RSET function is shown in Figure 4-3. If
the RESET function is deleted, neither the receive nor
transmit routines are required, resulting in a reduction of
approximately 32 instructions (64 bytes) for receive and
about 40 instructions for transmit. Since the transmission
of the RSET command by a combined may be used to report an
invalid N(R), some minor changes in the use of the FRMREJ
subroutine may be implied. Effects on throughput are difficult
to estimate at this level of implementation.
F
4-3.
Akr Fog
7
Yi uz YESR cev S T o m n
"ES2
-rr" op4-r~dAu1m
W.4rr Fc4
ThuI 'OFFrRZAWSM rnM
Am -rm koff
Figure 4-2. Transmit RSET
4-3
aas
'33at
090
wa 0-W $- IL w.j 4. a 3.a
wa me I-ul
a. -A 6.
- Ma19 . C
so 3. 11 a j ag ma ad3.jla a . a I&a a -V-
96 j . 6w i a 00 aa c - c a 0::N w d - a = ab
ago .:a a .0 a aa db 4c adz alu a. -a
*P 0a 0 a I-=* ad-a ad w. w wd ad 0 oOz W:::a .i U S.U
M--&a :xm. 30 on w ja a ad wad jad aa wm ama A.a'aAad~ 49 Pa aa
10 0P CC wo 1ad
U~~C C4 ftI - d
Ma£16a.
CSK6
0UU6==
* Sb U* as. -Ma =~) * 6 0o a 3. U* Ua. U m ~
ass 6 3 0 Ma- a ad K U- 0 S E~ Sb 6* a- MaO U
-. U 6 3'S 3 a- U66 N -
Ma 0 Sb = U Ma6*
- S. Sb a- b5* SbSbW a- ..aas. ~Iad
* 3-J 41 6 6- 66 a-* -, *.m. .1 Ma -* 6*6 Sb3b 6 -UOS-e U 3a a mae meu a.mem.ea. 6 U* U 65 *admumwmb.@ue U U* 6 6U U
Ma a-Ma U 6ad 6 66 66 66 Ma* .J *6UMaMabU60Ma6*WU Ma S.C* a.* ~Ma~~WUU.aO*U*UU~ *60*U
*UUMaUaU.j6U.d6UU 3. Sadad ad -3 3. Ma- 6 U U UMa 6 S 6 6U S 3Ma S U a-S 0 0 S
Ma
adaw am www am ad ad
6a
aP5 S * 55 5 5a 0 5 00 5 0
556 *a-5S0t4~44WP~S Sa see 555ue.s.ms. S U- *W~adadIs.6m66q6ga. Ma S* e~a-mP-SP~a.*SEW*5a4P. p..
SU
U UaP-~UaSedD56UadU44.Ep.. .6 ** ***U*~-..-......ewrw~r4 Mm ad* *SUSSSOSSU505053 S.6 S506655055565505 56 U
ad-a
ass ~ U~ *
Ma.5
S* 6Uad
I
* .
ai8M
* 4* S
* B-
a w
U' =
I~.I U'W I~
* IIaI aI
5.0 DELETE COMMAND OR RESPONSE I-FRAME
These two options limit the procedure to allow I
frames to be commands only, or responses only, by deleting
the I response and the I command respectively. This tech-
nique limits information frames to one direction for
primary and secondary stations.
These options are treated together in this section,
because the main effect of each is the same: one station
loses the ability to transmit I-frames and the other loses
the ability to receive them.
The SENDI process is used to transmit I-frames (Refer
to Figure 5-1) both as commands and responses. The code
for this process is presented in Figure 5-2. If I-frame
transmission is deleted, the SENDI process is as shown in
Figure 5-3. The 6800 code corresponding to the flow chart
of Figure 5-3 is shown in Figure 5-4. The difference in
number of instructions between these tbwo routines is
approximately 100 instructions. In addition to this
reduction the CHICPNT routine can be deleted together
with references to it in RR and RNR, removing an additional
60 instructions for a total of 160 instructions. Throughput
can nearly be doubled if information transmission is limited
to one direction based on the fact that the processor need
manage half the number of buffers and pointers.
The flow chart for receiving I-frames is shown in
Figure 5-5, and the corresponding code in Figure 5-6. If
5-1
I-frames are not to be received, this routine can be
removed completely, saving approximately 75 instructions.
5
I
I
'1 5-2
YS w
s 4) PM ~
BU~n 4,qure S-. SNI 9c
Bf RCF
S So-
5-'-
49 l
aO02,0W
a -cern
am h. Iwo 31-043
an #A a wm w -a4-9 wu e me
19 3!3.e a*0e'w ; - * b
46 I.m 6---
1. Itwa age a-a0 ~ a rnez U-c W a,
w e w wr0 w8e - ameaw a In
weOn a em W43 &. aM a0 w. wwew 16, a
- a On a a-rnI I a z I-a UW.a zooae = .: a
V_ SZE ata zes E b3,. . a. a . *W W. I b a a 'A = a
go 2 du lb M-~~ 00 a a :. C= .= 43- 33 160 m a- x Ub a bO e
a ru "M ~ e u m I& W aa - 0mI.:~ a .,
= a- 4. r- A e-w -.- aaI- a ca ea-- w-w C a
no*: W 6 md a. z - a- K -a ft IA.. AL ft T :: :_-1 0 -aa to aa r 0 2b 0- = -*~1 a ::: c2,22-raw- a- a- ew -0 a- : a r.a -":lo Nun . =.
Cb at CM t3 mle--n 40bC 3 .CS w 3aw
= ~ ~ ~ ~ ~ ~ ~ ~ * 000 aCC eu C bS m. es.e C -aC ac.
* e rnww~ aop.-~~~W ff W ... aae-r
a4m40 3
* 4
a.a40
z F~ a - z e w IM-m3
OZ-
am 44 a am
0 49 49 4
66 1 a-o -sm o _A amjm j Gft.Itm
Z &0a a 4
Ad w am %d am ta t dI o d I I
0- aJ a0 A. -A ft
3. a E ~ 1 a v -0 1,,
a::owooo nae e moss
4 * 4
LI_
K
30
oSU
4
&
Id Ad Id~ a- IN ww ww w w
!a a
0 :Of: :MS
0:000000000M f00
qasft
0,4 Mo Mooo-- --- -- - - - - -- --- --
O O'
if
IIq.h
t
0
I
La
at "ote
!s3 2* - tt
* IA
* W
* m* a
* oa S SmO D mO
* S ft
I- II I" -I Cll=.fIt ftI II I
* *l I I I II I
S
ULU
Figure 5-3. Delete I-Frame Transmission
5-9
nm - , -
1
I
3. 2 .
a P4
a.I.
4|
w 3
- I~
*a S sit S Iwo 2 42 a
46" ag* 1 e(
- . . a a a _a*="
16 a
* Sb 6 o o- o. . o
o a a a- an w W~Uw
W P- P U U
l
U U 53
• OUOOO 3O OOOO3 OO5 I5OI O
* -O U .- UO * U O -
* U - - *a . 3 3 U 3Sb . . SU 5 3U S U S U U* - 44 "M M ~ U 4 4
L-.
p.
a
'SUa.
a* UI'a- Sa Inz* aa
* b -* -*lb a
pgaUSa.a apg pg* U
=pg pg- a S a A.pg Ii a a a.J lbpg pga a
a -as. ~a aaaa aaaaaa* pg p* U~a U
pg* *P.eeee.aa....
Pbpga
I'* ~.a -*eeee*e..***** *eeeeeeee.s.*b
a.e.wagu wa.a.wwpga
:: a~ -.u:~~pg *U~3S43P-*3~~uu* MM@UU~U*eee4* UUU-pg4mpgump..p...d dulb-UUa.aaainaa
-
CALL r P w
C.+W-N;- FIY igute S-S.
5-12 Receive I Subtoutine
46
41 a
d
44
* ab
96 ad
*b me: wJ
: !9 - ."n nLAd we . 3 o
m 32. 0. a
ad man :w 4a -s Inu 4
lb 32. 3. 4Urnw nl so 1& a. ab
=~0 04 4U 09
* 0 lb4 aa .a *
ad ad e- a ~ to
448
43.
66a...
647AM
=~( 6- a ,0 1a a:4
41 46SM1
-1 3 a
16 o(8 46 % 6 iT - h:a&
a a '3 ao0 0 - w
.. 6 6 o- w a 69 1 6
6 39 "0 6 U a a"SM ~ ~ ~ t a 86 6 8mI
*4 a .w
46 0 0 w 0 o-
PA 4ew is f" asW-w w o a a wm
w a 6 0 0 wI 6 9 . A hl o f . 4t .
On 0. In V
a lU ft l6 ft h.
I.In
304016
61
omn: 63:: a!
Wwn IdWn w
nw wo- IdM.a
44
iS
apa
3I
* 4W
W
%,lo :::Z 1,=1,:to= =
e a
* U
w ooo: ooooooomooo
.Wn " " ° .
. w . . , w 6*
6.0 UNNUMBERED POLLING FUNCTION
Option 6 provides for the ability to perform unnumbered
group polling as well as unnumbered individual polling by
the addition of the UP command. The UP command is used to
solicit a response frame from a single station, or from a
group of stations, by establishing a logical operational
condition that exists at each addressed station for one
respond opportunity.
The flow chart for the reception of the unnumbered
polling command and the corresponding 6800 assembly
language code are presented in Figures 6-1 and 6-2 respectively.
Approximately 20 instructions are required for this routine.
The receive UP function also requires some minor modification
to the SENDI process and the processes for sending Receive
Ready/Receive Not Ready. These modifications are shown in
the flow charts of Figures 6-3 and 6-4. Effects on
throughput are difficult ot judge at this level of implementation.
6-1
-UP
WA rr Fc&
Figure 6-1. Receive UP Command
6-2
b b4
4* 46
46 W m a
40 a 0 a .14 3. adag 9 nw de
a aw 3w-~t I.4
* 43a ~U l0 U lb m00090
-~af :a,, 4 4 l*~~~~~P re*al l b l
1W 1
C0
op4
4b
41 44S
414
a So
48 Si w .
a4 -
4 U 1
* wo Wii ow * o
1
wUaa.
IU
a n3U CU*a'a U
p.SD -U be
-dSS.
aaaaa3aU
. U* aU
a 3. a- a ma.a a emU b.a aa a
* ~ d'4*@ ma wee *bm a* a aa &aSD U
aa *a.S**~.a..m..- - - - - a - * -h. I IaS
a3 *WS**W.t.-d SU***** Sew* *W*S..Sms..S. *SSS.......
5a.m. aaImbm
a. Sb.
US .IbW 6* m~ima bE* ***a*ue.sa.a.~ *aummmaa...
ser~
YE
LCA~Dw~. . Vlur* 6-3. SE60! modifications foc UP
6-6
- - 2
L
'a0
ojC0
-"4
C,'4.4-"4
z
0zC12
to
'Ib.4
-"4
7.0 INITIALIZATION FUNCTION
This option provides the ability to initialize remote
stations and the ability to request initialization. The
SIN command and the RIM response are added. The SIM command
is used to request a remote station to initiate a station-
specified procedure to initialize its link-level control
function. The RIM response is used by the Secondary/
combined station to request the SIN command.
The flow chart for the reception of the SIN command
and the corresponding 6800 code are given in Figures 7-1
and 7-2. The flow chart for the transmission of the RIM
response and corresponding code are given in Figures 7-3
and 7-4. Some modification to the module that determines
the operational state is required to accommodate the
initialization state and the RIM condition. This module
is used at the beginning of the received commuand handlers
* for example, it appears in the received I-frame. The
modifications to this routine are shown in Figure 7-5.
7-1
CIA
meOtjs'4 rr
(.11
Figure 7-1. Receive SIM Command
7-2
164
I'0
.01 a.
- -OS
ma
0 U* C hi am
hi ~i S h
*P 3, aai IM
IK 1600 U0*000
IV 3h Uh
-i
I
m
hiSaaA.
UU
I' aaI"a Uw a
a= 0a a
- 4.1* Mi C- U Mi =a U- a * 45
0 = a -4.1 - 0 Sb 0* a a a Sb - U
* S ~ 3. Mi = N* C U * 0 3* C hi. C £ SS., = U a C a
I- SM 0 U -U 3 SM 5 3. - hiSM SM U SM 01* 3 3. - a a S SM OS
SM SM 4 ~ MO C aU .J 3 5 3.U hi. C
* a. a ma 5- hia a S USM ..d- .~ 5- - 5 5-5- - S -
* C 6 0 Sb 3. UN hi. 3. ** U Sb lbS S ~ S- 3. 6 ~J* 3. 3.9.5 a C C =
* .5 C 5-5 ~S *USb ~ 01 5- 6* C C 45 CCC 5-33. -a a 3.- C 5- Ca C aCe mau . em. 5- U
* 5- 4 C S 3 *a a.. s ma a- 3 a C - SM* * q.- SM 5- SM SM C C
P 3. 01 C - 3. rshi. ~ a 5 - 4 4 @4 3. 46 -
* S *W 1 *OU5-~. CC 5- 0.* a Sb ww u **a.e .. a5-~~m* .w.e~-.u.ma. sa w am a. * ~SM a a3. - 3. U- 4 hi. 4 * SM
* SM 3 U C 06.1 SM SSM 3 0. U Ua. - a U
w maa~ . Si Si SM
* S* a
a5- a a a a* a a a a a#4 55 USC alma 5-5 5a a. as. ass ~a a a- Sb MiMi MiI-SbSMWSM Mi5- SM U* a sew *e5-a5-Smt. 55 P. a
aa* sa -" 05-*01C5ws a~ *u a
* 5 50 aS asa.a~-- -- -- SM* 5* as as...... em as* ma as asseasa. a. as a
SMSM -c4lmNe5a-almSmMi5-aeaa#4p5q.v5MiP.asa~SwSq U* a *SSS#SSqSmmmmmmmwImm.MiMiMi.MiMiMiMiMift.P.Il.N =- U
UU* a C
aSM
S~ *.......*-~-~..*....~**
*1
I
C
Iw43a
1
m43L -
a=a=* U43
Chia43U
Id** WI-
C43 baPd
a
a
hi* hi
Snhi =~. hi- U em- hi p..,&I lbhi hi* U
* .~,e em..* Cwqa *hieus* hi I* UU U
hi*- - - -Id. IhiU
hi* *WCC.q....~**a *Ceeseeeee.
**
*&hiu IM&iU&U
~ *~ 43 @6*.6 ~Iai. Uhi S .dSUp. lbS U* * 8
1b3U433.aUUa*~
F-: ABMA
rRAJ urrree
Figure 7-3. Transmit RIM Response
7-6
01Uus
01
sa
adI a
a PA
* U aa
amP. ma ~
to 0d 4 a 0 AW
-tV 0ftbkl N-ae a0 a
ftj
ft.
aa
co e a tf
to :00 Me"
lb O : : 4 ft fta a b0O ft Ob
"a 4* US
a a 300 Sa o::: a
ft
Ii'(a
* 4a.
U
4
4* a
* Sa.aSM*SMa*=
5%a0 S
4 0~Ad- b-a4
a
aSM
aSSM -* 4
SMI- ~b- U* SM* U* SM q.4 Sb* SM.- a
* I.* 4..* SM* UU U
SM* *@@40Q44- - ft ---lbSMU
SM
a -eeeeuqr~e~ mee......4 *e*u**S*3~ Sue.....
SM. ~eSMSMmi
~S ~IU MSM SMOG IdU U*34m*U4 lbSM*-~4.a*~I UZUU~b.
U
7-1
8.0 UNNUMBERED INFORMATION FUNCTION
This option provides the ability to exchange information
fields without impacting the send and receive variables,
and provides for the addition of the UI command and the
I- Ul response. Since the frame is not sequence number verified,
the frame may be lost or duplicated if a link exception
condition occurs.
The UI function is very similar to the transmit I
function, assuming that a message is a number of bytes. The
Ut function requires no error recovery based on send and
receive variables nor buffering and pointers for multiple
frames. A flow chart for receiving UI and the corresponding
6800 code are given in Figures B-1. and 8-2. Comparing
Figure 8-2 with Figure 5-6 reveals the difference in code
required to send a Ut frame instead of an I frame. Of
course, a Ut frame may be sent in addition to an I frame.
8-1
I
to sioI
Figuze 8-1.. Refeive Ux Ssboutia*6-2
49
aba a tup I4k - a
3. an -a w
la 42P4L a
ON 00 'a C d
lb ab we W4 m
1&8 as 0 00 lb a 0 "aWO
aa - as I a w m
a ma m . a a
* ~ ~ ~ ~ O amSa "- d Wa
a Cm. U 9
~41
66
.6
ad U.
966
6 U U
0 0 06 -6 0 61 ad m e46 aOt 3Dw ; " op a
S- - No6U a. U Ua
40 ad 0 Go 1 a. 5 6
W A W ad INW N W O a a W
U~~~~~- .0a 6 65 5a
a. 6 d U a ad a ads
Is
*w 3
a ga aa* US.Uemm e n0a
40US MU533s
Idbaw
w
ase
1
waaB.
a
* Id=a
* Slb
aS
a3
ii.a -- U
* aSMa - S
*a* a a a'* S S aa w - B.
U- =a. ad- N a a em
* SM SM - SM 5 55U S - -
* SM SM* a a
* B.S~SSUSP.@ P.q459~I~OSM~ i'd* *ee~eSMe~aeB.ae.e aSM-SMaSM..- ** - - - - - - - C S -S u i.e ,us
SMS .SMEqe.a5aaea~mmee.,vea-.mm.eSM.w aOa~mamaaaaaFb .inSM.r~qam *Slb - - Cl S I -ada
mueb~*~a.a~ **S@~U~~5~SMSFbSU@5O
* *.****e****.........*...*...a. *************s***e****s**eu*
ae.a.a.a.mmwwnmma&u wm....~mwuSMe&a.
~ USa..
* 3~m.dSmUamUSMSMSMeSMeB.mSMb.lbua5SM.m~.~ guuuulblblbUm~.~335&&&B.ummaelbm
9.0 REFERENCES
1. "Use of a Microprocessor to Implement an ADCCP
Protocol with Reject and Selective Reject"
(Federal Standard 1003) "Delta Information Systems,
Inc. August 1981.
2. "Use of a Microprocessor To Implement an ADCCP
Protocal (Federal Standard 1003)" Delta Information
Systems, Inc. July 1980.
3. Malcon Easton, "Batch Throughput Efficiency of ADCCP/
HDLC/SDLC Selective Reject Protocols" Data
Communications pp 187-195, February 1980.
9-1