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
BASICS OF COMPUTER SYSTEMS 41
Solution
LDA 4566H ;load into A, the number in memory
CMP A,B ;compare it to the number in B
JNC YES ;If C = 0, it means that A>B, jump to YES
MOV A,B ;C = 1, means B>A, so copy bigger no to A
YES: OUT 67H ;send the bigger number to the output port
With this, we come to an end of our discussion on 8085 programming.  ere are a few
more instructions, but since only a brief introduction to 8085 is possible here, we will straight-
way go into the hardware aspects of 8085.
0.9.4 | Hardware Aspects of the 8085
Fig 0.13 shows the pin diagram of the processor. Let us discuss the pins in detail. As we do that,
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