Zilog Z16C35 User Manual
Page 293

Application Note
Technical Considerations When Implementing LocalTalk Link Access Protocol
14-5
1
784
;subroutine to time out bit time 4.3 usec per bit
785
;register c contains the number of bits to be
counted down
786 ;**********************************************
000002ef
787 bittime:
000002ef f5
788
push
af
;save status and a reg
000002f0 c5
789
push
bc
;save
000002f1 e5
790
push
hl
;save
791 ;
000002f2 3ed2
792
ld
a,0d2h
;ctc1 int vector
000002f4 d3e5
793
out
(ctc1_cont),a
794
000002f6 3edf
795
ld
a,11011111b
;
000002f8 d3e5
796
out
(ctc1_cont),a
;enable int
797
;select counter mode
798
;clk/trg edge starts with rising edg
799
;time constant follows
800 ;software
reset
000002fa 79
801
ld
a,c
;reg c contains the number of bits
000002fb d3e5
802
out
(ctc1_cont),a
;load the number of bits to be counted
803
;**
000002fd e1
804
pop
hl
;restore
000002fe c1
805
pop
bc
;restore
000002ff f1
806
pop
af
;restate status and a reg
00000300 fb
807
ei
00000301 c9
808
ret
809
Page 287 of 316
UM011002-0808
- S3F94C8 (11 pages)
- S3F80QB (29 pages)
- S3F8S19 (38 pages)
- Z51F6412 (96 pages)
- Z51F6412 (54 pages)
- Z51F6412 (55 pages)
- Z16F6411 (216 pages)
- EZ80F93 (11 pages)
- Z16F6411 (20 pages)
- ZMOT0BSB (582 pages)
- EZ80F93 (13 pages)
- ZMOT0BSB (314 pages)
- Z8F083A (14 pages)
- Z8F082A (18 pages)
- Z8F2480 (17 pages)
- Z8F082A (15 pages)
- Z8F0822 (17 pages)
- Z8F6423 (83 pages)
- Z8F2480 (18 pages)
- Z8F2480 (19 pages)
- Z8F6423 (18 pages)
- Z8F6423 (27 pages)
- Z8F6482 (50 pages)
- EZ80L92 (26 pages)
- EZ80L92 (79 pages)
- EZ80F91GA (469 pages)
- EZ80F915 (411 pages)
- EZ80F91NAA (34 pages)
- EZ80F91 (41 pages)
- EZ80L92 (40 pages)
- EZ80L92 (10 pages)
- eZ80F92 (87 pages)
- Z16FMC6 (41 pages)
- ZUSBOPTS (38 pages)
- ZUSBOPTS (59 pages)
- Z16FMC6 (520 pages)
- Z8FMC16 (26 pages)
- Z16FMC6 (8 pages)
- Z16FMC6 (26 pages)
- ZMOT1AHH (25 pages)
- ZMOT0BSB (34 pages)
- EZ80F915 (78 pages)
- EZ80190 (87 pages)
- EZ80L92 (86 pages)
- EZ80F91GA (127 pages)