Found 558 Articles for Microprocessor

General purpose registers in 8086 microprocessor

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

13K+ Views

The general purpose registers are used to store temporary data in the time of different operations in microprocessor. 8086 has eight general purpose registers. The description of these general purpose registersRegisterFunctionAXThis is the accumulator. It is 16-bit registers, but it is divided into two 8-bit registers. These registers are AH and AL. AX generally used for arithmetic or logical instructions, but it is not mandatory in 8086.BXBX is another register pair consisting of BH and BL. This register is used to store the offset values.CXCX is generally used as control register. It has two parts CH and CL. For different looping ... Read More

Pin diagram of 8086 microprocessor

George John
Updated on 30-Jul-2019 22:30:25

11K+ Views

The Intel 8086 is 40 pin DIP Microprocessor. Here we will see the actual pin level diagram of 8086 MPU.8086 was the first 16-bit microprocessor available in 40-pin DIP (Dual Inline Package) chip. Let us now discuss in detail the pin configuration of a 8086 Microprocessor.This is the actual pin diagram of 8086 Microprocessor.Now let us see the Pin functions of the 8086 microprocessor.PinsFunctionAD15 – AD0These are 16 address/data bus. AD0-AD7 carries low order byte data and AD8AD15 carries higher order byte data. During the first clock cycle, it carries 16-bit address and after that it carries 16-bit data.A16 – ... Read More

Interface 8255 with 8085 microprocessor for addition

Chandu yadav
Updated on 30-Jul-2019 22:30:25

1K+ Views

In this program we will see how to perform addition by using ports to take data and send the result into the port.Problem StatementWrite 8085 Assembly language program for interfacing between 8085 and 8255. Here Port A and Port B are holding two values, take the numbers from port A and B, add them, and send the result at port C.DiscussionThe task is very simple. At first we have to setup the control word register of 8255 chip. After that we will take the input from port A and B, add the content, and send it to port C.The control ... Read More

Differences between 8085 and 8086 microprocessor

Kiran Kumar Panigrahi
Updated on 01-Nov-2023 02:53:55

32K+ Views

A microprocessor is an integrated circuit which can function as a central processing unit (CPU) of a computer system or a microcontroller. It is constructed by integrating millions of transistors, diodes, and resistors on a single electronic chip.8085 and 8086 are two major types of microprocessors produced by Intel. Go through this article to find out the major differences between 8085 and 8086 microprocessors.What is 8085 Microprocessor?The 8085 microprocessor is an 8-bit microprocessor produced by Intel in 1976. The 8085 microprocessor has 8-bit long data bus, thus it can process 8-bit of data in a single cycle. The 8085 microprocessor ... Read More

Assembly program to transfer the status of switches

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

374 Views

In this program we will see how to transfer the switch values from one port to another using 8085 and 8255 chip.Problem Statement:Write 8085 Assembly language program for interfacing between 8085 and 8255. Here eight switches are connected at port A. Transfer the status of these switches into port B. In port B the LEDs are connected.Discussion:The task is very simple. At first we have to setup the control word register of 8255 chip. After that we will take the input from port A, and send it to port B.The control word register is looks like this. It is holding ... Read More

8085 program to check whether the given 16 bit number is palindrome or not

George John
Updated on 30-Jul-2019 22:30:25

325 Views

In this program, we will see how to check a 16-bit number is a palindrome or not.Problem StatementWrite the 8085 Assembly language program to check a 16-bit number is palindrome or not. The number is stored at location 8000H and 8001H.DiscussionA number is a palindrome if the number and its reversed sequence is the number itself. For example, 5225 is a palindrome, but ABCD is not a palindrome.In this problem, we are taking the number and store it into the HL pair. Then we are performing the reverse operation on L content. If the H and updated L value are ... Read More

8085 program to show masking of lower and higher nibbles of 8-bit number

Chandu yadav
Updated on 30-Jul-2019 22:30:25

3K+ Views

In this program we will see how to lower and upper nibbles are masked in 8085.Problem StatementWrite 8085 Assembly language program to mask the upper and lower nibble of an 8-bit number. The number is stored at location 8000H. Lower and Upper nibbles will be stored at location 8001H and 8002H.DiscussionThe masking is basically ANDing two numbers. When we want to mask the upper nibble of an 8-bit number say 2D (0010 1101), then we will AND with 0F (0000 1111), so we will get 0D (0000 1101). By masking with F0 (1111 0000), the result will be 20 (0010 ... Read More

8085 program to reverse 16 bit number

Arjun Thakur
Updated on 30-Jul-2019 22:30:25

804 Views

In this program we will see how to reverse the digits of a 16-bit number using 8085.Problem StatementWrite 8085 Assembly language program to reverse a 16-bit number stored at location 8000H-8001H. Also, store the result at 8050H – 8051H.DiscussionHere the task is too simple. There are some rotating instructions in 8085. The RRC, RLC are used to rotate the Accumulator content to the right and left respectively without carry. We can use either RRC or RLC to perform this task. In the final result each digit of the H and L are reversed, and also the H and L values ... Read More

8085 program to reverse 8 bit number

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

836 Views

In this program we will see how to reverse the digits of an 8-bit number using 8085.Problem StatementWrite 8085 Assembly language program to reverse an 8-bit number stored at location 8000H. Also, store the result at 8050H.DiscussionHere the task is too simple. There are some rotating instructions in 8085. The RRC, RLC are used to rotate the Accumulator content to the right and left respectively without carry. We can use either RRC or RLC to perform this task.InputAddressData……80004C……Flow Diagram ProgramAddressHEX CodesLabelsMnemonicsCommentsF0003A, 00, 80 LDA 8000HTake the number from memoryF0030F RRCRotate right without carry four timesF0040F RRC F0050F RRC F0060F RRC F00732, 50, 80 STA 8050HStore the result at memoryF00A76 HLTTerminate the ... Read More

8085 program to find minimum value of digit in the 8 bit number

George John
Updated on 30-Jul-2019 22:30:25

355 Views

In this program we will see how to find the minimum digit from a two-digit number.Problem StatementWrite 8085 Assembly language program to find the minimum digit from a two-digit number. The number is stored at location 8000H, store the result at 8050H.DiscussionHere we are performing this task by using masking operation. Each digit takes one nibbles. We are masking the upper nibble by ANDing with 0FH (0000 1111). Store the lower nibble into another register. After that, we are taking the upper nibble. To get it, we are shifting the number to the right four times to convert lower nibble ... Read More

Advertisements