Found 475 Articles for 8085

Intel 8212 in mode 1

Vrundesha Joshi
Updated on 30-Jun-2020 05:19:09

244 Views

The figure below shows the working of 8212 in mode 1Fig: Working of 8212 in mode 1We use this mode generally when we want 8212 to function as an output port. Here, microprocessor drives DI7-0, and the device at the output receives the information on Do7-0. The clock to the latches is provided in this mode. 8212 latches the information on DI7-0 when the CS makes transition from high to low. The CS signal gets activates when INT* is transferred by the interrupts by the driven data transfer scheme which is always performed when desired. The buffer at the output ... Read More

Intel 8212 in mode 0

Rishi Rathor
Updated on 30-Jun-2020 05:19:41

187 Views

The below fig shows clearly how 8212 works in the mode 0Fig: 8212 working in mode 0We use this mode generally when we want 8212 to function like an input port. An input device gets connected to DI7-0, and the microprocessor employed here receives the information on DOs ranging from D7-D0. Here in this mode STB acts as clock for the given latches. The latch which is of 8 bits in 8212 follows the series information which is present on DI7 to DI0 as long as STB is equal to 1. When the STB makes a transition, which is high ... Read More

Pin diagram of 8212

Jennifer Nicholas
Updated on 30-Jun-2020 05:22:23

371 Views

We find 8212 available in nowadays as a package chip which is dual inline having 24 pins total. We find its functional pin diagram below.Fig: Pin diagram of 8212 functionalFig: Pin diagram of 8212Voltage of + 5 V is required for it to work based on the supply which is DC. The latch which is 8 bit in 8212 receives the information which is present on the eight data inputs ranging from DI7 to D10. The condition which helps in information latching is present on DI7 to DI0 depends on the state of logic of the pin which is of ... Read More

Working of 8212

Anvi Jain
Updated on 30-Jul-2019 22:30:24

442 Views

There are two types of Input Output ports. They are Programmable Input Output ports and Non-Programmable Input Output ports. Since the functions of Programmable Input Output ports changed by software they became more popular. We don't need to change the wiring rather the hardware of the I/O port to change the function. Intel 8255 is a popular Input Output chip based on port. Whereas the I/O ports which are non-programmable needs to change the wiring or the hardware to change its complete function. We will see in later that the connection needs to be changed when 8212 works like an ... Read More

Non-Programmable 8-Bit I/O Port

Vrundesha Joshi
Updated on 30-Jul-2019 22:30:24

400 Views

There are two types of Input Output ports. They are Programmable Input Output ports and Non-Programmable Input Output ports. Since the functions of Programmable Input Output ports changed by software they became more popular. We don't need to change the wiring rather the hardware of the I/O port to change the function. Intel 8255 is a popular Input Output chip based on port. Whereas the I/O ports which are non-programmable needs to change the wiring or the hardware to change its complete function. We will see in later that the connection needs to be changed when 8212 works like an ... Read More

8085 program to exchange content of HL register pair with DE register pair

Rishi Rathor
Updated on 30-Jun-2020 05:06:12

921 Views

In this program we will see how to exchange the content of DE and HL pair.Problem StatementWrite 8085 Assembly language program to swap the content of HL and DE register pair.DiscussionThis process is very simple, 8085 has XCHG instruction. This instruction swaps DE and HL pair content. We are storing some values to DE and HL pair directly, and then exchange them using XCHG.InputDE = 5678H HL = CDEFHFlow DiagramProgramAddressHEX CodesMnemonicsCommentsF00016, 56MVI D, 56HLoad D with56HF0021E, 78MVI E, 78HLoad D with78HF00426, CDMVI H, CDHLoad D with CDHF0062E, EFMVI L, EFHLoad D withEFHF008EBXCHGExchange the content of DE and HLF00976HLTTerminate the programOutputDE ... Read More

8085 program to access and exchange the content of Flag register with register B

Jennifer Nicholas
Updated on 30-Jul-2019 22:30:24

792 Views

In this program we will see how to exchange the content of Flat register with register B.Problem StatementWrite 8085 Assembly language program to swap the content of flag register and the register B.DiscussionAs we cannot access the flag register content directly, we have to take the help of stack. By using stack, we can push the content of PSW (Accumulator and Flag). Then we can get it back and store into some other registers. Similarly, from other register, we have to push them into stack, then pop it to PSW.Here if we want to exchange the value of B and ... Read More

8085 program to swap two 16-bit numbers using Direct addressing mode

Anvi Jain
Updated on 30-Jul-2019 22:30:24

839 Views

In this program we will see how to swap two 16-bit numbers in direct addressing mode.Problem StatementWrite 8085 Assembly language program to swap two 16-bit number stored at location 8000H – 8001H and 8002H – 8003H using direct addressing mode.DiscussionHere we are swapping the values using XCHG instruction. This instruction swaps the contents of DE and HL pair contents. We are taking the first number into DE register pair, then the second number into HL pair, then by XCHG we are swapping them.InputAddressData......8000CD8001AB800234800312......Flow DiagramProgramAddressHEX CodesMnemonicsCommentsF0002A, 00, 80LHLD 8000HLoad the first number into HLF003EBXCHGExchange DE and HLF0042A, 02, 80LHLD 8002HLoad the ... Read More

8085 program to swap two 8 bit numbers using Direct addressing mode

Vrundesha Joshi
Updated on 30-Jul-2019 22:30:24

507 Views

In this program we will see how to swap two numbers in direct addressing mode.Problem StatementWrite 8085 Assembly language program to swap two 8-bit number stored at location 8000H and 8001H using direct addressing mode. DiscussionIn this case we are taking the number from memory by using the HL pair. The HL pair is storing the address of the data item. We are taking the first number into B register, and the second number to A register, then storing the content of B to the next position, and storing the value of A into first position.InputAddressData......8000CD800134......Flow DiagramProgramAddressHEX CodesMnemonicsCommentsF00021, 00, 80LXI H, ... Read More

8085 program to swap two 8-bit numbers

Rishi Rathor
Updated on 30-Jul-2019 22:30:24

3K+ Views

In this program we will see how to swap two numbers.Problem StatementWrite 8085 Assembly language program to swap two 8-bit number stored at location 8000Hand 8001H.DiscussionIn 8085, there is an instruction XCHG. Using this we can swap the contents of DE and HL values. We are taking the numbers and storing them into H and D, then using XCHG the contents are swapped.InputAddressData......8000CD800134......Flow DiagramProgramAddressHEX CodesMnemonicsCommentsF0003A, 00, 80LDA 8000HLoad the first number into AF00367MOV H, AStore the number into HF0043A, 01, 80LDA 8001HLoad the second number into AF00757MOV D, AStore the number into DF008EBXCHGExchange DE and HLF0097CMOV A, HTake H content ... Read More

Advertisements