Nvis 5586A
Nvis Technologies Pvt. Ltd.
162
Program – 40:
Program for Port A, B, C of 8255-I generating square wave output at Connector
8255-I.
Address
Opcode
Mnemonic
Comment
0400
B0 80
MOV
AL,80H
;INIT 8255 CWR
0402
E6 76
OUT
76H,AL
; P A , P B , P C A S O U T P U T PORT
0404
B0 55
Start:
MOV
AL,55H
;MOVE ACC DATA 55H
0406
E6 70
OUT
70H,AL
;OUT AT PA
0408
E6 72
OUT
72H,AL
;
OUT AT PB
040A
E6 74
OUT
74H,AL
;OUT AT PC
040C
E8 0D 00
CALL DELAY1
040F
B0 AA
MOV
AL,0AAH
;MOVE ACC DATA AAH
0411
E6 70
OUT
70H,AL
;OUT AT PA
0413
E6 72
OUT
72H,AL
;
OUT AT PB
0415
E6 74
OUT
74H,AL
;OUT AT PC
0417
E8 02 00
CALL DELAY1
041A
EB E8
JMP
START
;JUMP TO START CX,0FFH
041D
B9 0000
DELAY1:MOV CX,0FFH
;DELAY ROUTINE
0420
49
DL1:
DEC
CX
0421
75 FD
JNE DL1
0423
C3
RET
Summary of Contents for 5586A
Page 2: ...Nvis 5586A Nvis Technologies Pvt Ltd 2...
Page 23: ...Nvis 5586A Nvis Technologies Pvt Ltd 23 Memory Read Timing in Maximum Mode...
Page 30: ...Nvis 5586A Nvis Technologies Pvt Ltd 30...
Page 48: ...Nvis 5586A Nvis Technologies Pvt Ltd 48 Diagram of module RESET power Instruction Set Note...