Skip to Main Content
The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
book

The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition

by Lyla B. Das
May 2024
Intermediate to advanced content levelIntermediate to advanced
665 pages
23h 2m
English
Pearson India
Content preview from The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
302 THE x86 MICROPROCESSORS
MOV AL, 90H ;control word
OUT CR, AL ;send it to the control register
IN AL,
PA ;take in data through Port A
CMP AL, 7FH ;compare it with 7FH
JA LOW ;if AL > 7FH,go to LOW
MOV AL, 0EH ;AL < 7FH,write a word for PC
7
= 0
OUT CR, AL ;send it to the control register
JMP XIT ;go to exit
LOW: MOV AL, 0FH ;AL > 7F,BSR word for PC
7
= 1 in AL
OUT CR, AL ;send it to the control register
XIT:
END ;end the program
us, we see that with the BSR mode, we are able to do ‘bit addressing’ for port pins, but only
for Port C, in the output mode alone.
9.5 | Mode 1
is is also called the handshaking mode.  e features of this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microprocessors and Microcontrollers  by Pearson

Microprocessors and Microcontrollers by Pearson

Lyla B Das

Publisher Resources

ISBN: 9781282663169