Found 409 Articles for Microcontroller

8085 Block movement with overlap

Arjun Thakur
Updated on 27-Jun-2020 14:04:56

1K+ Views

In this program, we will see how to move blocks of data from one place to another.Problem StatementWrite 8085 Assembly language program to move a data block. The blocks are assumed to be overlapping. The block size is given, the block is starting from Xand we have to move it to the location Y.DiscussionThe overlapping block movement is tricky; we need to use some special tricks to move a block in overlapping address locations. Here the block is starting at position X, we have to move it to position Y. The location Y is inside the block. So Y < ... Read More

8085 Block movement without overlap

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

961 Views

In this program, we will see how to move blocks of data from one place to another.Problem StatementWrite 8085 Assembly language program to move a data block. The blocks are assumed to be non-overlapping. The block size is given, the block is starting from X and we have to move it to the location Y.DiscussionThe non-overlapping block movement is relatively an easy task. Here the block is starting at position X, we have to move it to position Y. The location Y is far away from X. So Y > X + block size.In this program, the data are stored ... Read More

8085 Program to Add two multi-byte BCD numbers

George John
Updated on 26-Jun-2020 12:14:21

778 Views

Now let us see a program of Intel 8085 Microprocessor. This program is mainly for adding multi-digit BCD (Binary Coded Decimal) numbers.Problem StatementWrite 8085 Assembly language program to add two multi-byte BCD (Binary Coded Decimal) numbers. DiscussionWe are using 4-byte BCD numbers. The numbers are stored into the memory at location 8501H and8505H. One additional information is stored at location 8500H. In this place, we are storing the byte count. The result is stored at location 85F0H.The HL pair is storing the address of first operand bytes, the DE is storing the address of second operand bytes. C is holding the ... Read More

Microprocessor 8085 Architecture

Arjun Thakur
Updated on 26-Jun-2020 14:25:12

2K+ Views

Microprocessor 8085 Architecture which is shown in the below figure consists of various units and each unit has its respective functionality.Fig: 8085 Microprocessor ArchitectureThese units are listed below-AccumulatorIn Intel 8085microprocessor, accumulator acts an 8-bit register to store 8-bit data to perform arithmetic and logical operation on them. The final result stored in the accumulator. It is also called A register.Arithmetic Logic Unit (ALU)It basically performs 8-bit arithmetic operations like +, -, *, / and to perform logical operations like AND, OR, NOT etc. ALU gets inputs from the accumulator and temporary register on which it performs such operations. After processing ... Read More

Registers B, C, D, E, H, and L in 8085 Microprocessor

George John
Updated on 27-Jun-2020 13:24:27

2K+ Views

Registers B, C, D, E, H, and L are general purpose registers in 8085 Microprocessor. All these GPRS are 8-bits wide. They are less important than the accumulator. They are used to store data temporarily during the execution of the program. For example, there is no instruction to add the contents of Band E registers. At least one of the operands has to be in A. Thus to add Band E registers, and to store the result in B register, the following have to be done.Move to A register the contents of B register.Then add A and E registers. The ... Read More

Accumulator or Register A in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 13:25:13

5K+ Views

Register A is an 8-bit register used in 8085 to perform arithmetic, logical, I/O & LOAD/STORE operations. Register A is quite often called as an Accumulator. An accumulator is a register for short-term, intermediate storage of arithmetic and logic data in a computer's CPU (Central Processing Unit).In an arithmetic operation involving two operands, one operand has tobe in this register. And the result of the arithmetic operation will be stored or accumulated in this register. Similarly, in a logical operation involving two operands, one operand has to be in the accumulator. Also, some other operations, like complementing and decimal adjustment, ... Read More

Programmer's view of 8085 Microprocessor

George John
Updated on 27-Jun-2020 13:26:27

128 Views

Intel 8085 receives 8-bit information on AD7-0 from memory or in-port which resides inside the microprocessor via“register”. A register is a group of flip-flops, where each flip-flop can store a bit of information. To store 8 bitsof information, the size of a register in 8085 has to be 8 bitsThe advantages of a register over a memory location is the contents of a register can be accessed much faster by the microprocessor, compared with the contents of a memory location.However, the disadvantages of a register over a memory location are as follows.If there are too many registers, they occupy a lot ... Read More

IO/M* PIN in 8085 Microprocessor

Arjun Thakur
Updated on 27-Jun-2020 13:26:57

2K+ Views

In Intel 8085 microprocessor I/O and memory operation are differentiated by IO/m` status signal.IO/M` stands for ‘input-output/memory`’. When IO/M` is logic 0, it means that the address sent out by the processor is for addressing a memory location. When IO/M` is logic 1, it means that the address sent out by the processor is for addressing an I/O port.Fig: Pin diagram of 8085Let us consider this following example and also the voltage level at IO/M* pin. If we consider instruction MVI E, ABH then it means that ABH will be moved or copied to the register E. And as a ... Read More

ALE pin in 8085 Microprocessor

George John
Updated on 27-Jun-2020 13:27:25

12K+ Views

Intel 8085 is an 8-bit microprocessor which has 16 address line for 16-bit address of a memory location. 8 higher order address bits are transferred through 8 bit lines out of this 16 address line while remaining lower order 8 bits of the address are sent through another 8 lines multiplexed with the 8-bit data lines. ALE (Address Enable Latch) is the control signal which is nothing but a positive going pulse generated when a new operation is started by microprocessor. So when pulse goes high means ALE=1, it makes address bus enable and when ALE=0, means low pulse makes ... Read More

A15-8 pins in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 13:17:06

313 Views

The Intel 8085 ("eighty-eighty-five") is an 8-bit microprocessor produced by Intel and introduced in 1976. It is a software-binary compatible with the more-famous Intel 8080 with only two minor instructions added to support its added interrupt and serial input/output features. Intel 8085 can read or write 8 bits at a time. Also, memory is used for storing data and results, 8 bits in each memory location. Like two memory locations and four memory locations, if there are eight memory locations, 3-bit address is needed to specify the location of interest. If address is 000, location 0 is selected, etc. and ... Read More

Advertisements