English
Language : 

Z85233 Datasheet, PDF (281/317 Pages) Zilog, Inc. – The Zilog SCC Serial Communication Controller
Application Note
Technical Considerations When Implementing LocalTalk Link Access Protocol
00000509
00000509 f5
0000050a c5
0000050b e5
0000050c 21Wwww
0000050f 7e
00000510 cbcf
00000512 77
00000513 e1
00000514 c1
00000515 f1
00000516 fb
00000517 ed4d
00000a00
00000a00
00000a00
00000a08 R000+03e9,
00000a0a R000+04c8,
00000a0c R000+0433,
00000a0e R000+0454,
00000a10
00000a18
00000ad0
00000ad0 R000+04d8,
00000ad2
00000ad2 R000+0509,
1306
1307
1308
1309
1310 ctc1int:
1311
1312
1313
1314
1315
push
1316
push
1317
push
1318
1319
ld
1320
ld
1321
set
1322
ld
1323
pop
1324
pop
1325
pop
1326
ei
1327
reti
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
org
1338 sccvect:
1339
if
1340
.block
1341
endif
1342
dw
1343
dw
1344
dw
1345
dw
1346
1347
if
1348
.block
1349
endif
1350
1351 temp: .block
1352
1353
1354
1355
1356
1357
org
1358
dw
1359
org
1360
dw
1361
1362
1363
1364
LISTING 4
af
bc
hl
hl,timflg
a,(hl)
1,a
(hl),a
hl
bc
af
;****************************************
;ctc1 timer int handler
;****************************************
;ctc1 is programmed in counter mode.
;external trigger edges is provided by
;/trxc pin at intervals of 4.3 usec.
;bit1 of timflg is set when count is terminated.
;** update the timing flag **
;get recent timflg
;bit1=1 after count is over
;update the timflg
sdlc + 0a00h
scc_a
8
txint
ext_stat
recint
spcond
not scc_a
8
;**********************************
;interrupt vector table for the scc
;**********************************
;the status of the interrupt source will affect
;the interrupt vector. The interrupt handler’s
;address are set in a block, as below.
;reserve vector for other ch
;tx int
;ext/stat int
;rx char int
;sp rec cond int
;reserve vector for other ch
1
0ad0h
ctc0int
0ad2h
ctc1int
;**********************************
;interrupt vector table for the ctc
;**********************************
;reserved for ctc0 int routine
;reserved for ctc1 int routine
;************************
;receive buffer area
;************************
6-146
UM010901-0601