T2review-3750-S06

T2review-3750-S06 - Review before Test 2 EE 3750 - Spring...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Review before Test 2 EE 3750 - Spring 2006 2 Initializing Serial Interface Write an 8086 instruction sequence to initialize a 16550. Specifically: Let the lowest port address of the 16550 be 40H. Write an instruction sequence to initialize it to use 8 bits of data, 1 stop bit, no parity, a divisor of 20, and no FIFOs. Line control register address ends in 011 Low divisor byte register address ends in 000 High divisor byte register address ends in 001 FIFO control register address ends in 010 Line control bit pattern: DL SB ST P PE S L1 L0 FIFO control bit pattern: RT1 RT0 0 0 DMA XRS RRS EN
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
3 Initialize 16550 to use 8 bits of data, 1 stop bit, no parity, a divisor of 20, and no FIFOs. MOV AL, 10000000B ; enable divisor latch OUT 43H, AL MOV AL, 20 ; low byte to divisor latch OUT 40H, AL MOV AL, 0 ; high byte to divisor latch OUT 41H, AL MOV AL, 00000011B ; data length, stop, parity OUT 43H, AL MOV AL, 0 ; disable FIFOs OUT 42H, AL 4 Initializing Parallel Interface Write an 8086 instruction sequence to initialize an 82C55. Specifically:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/25/2012 for the course EE 3750 taught by Professor Desouza during the Fall '08 term at LSU.

Page1 / 4

T2review-3750-S06 - Review before Test 2 EE 3750 - Spring...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online