Chandu yadav has Published 1163 Articles

Register addressing mode in 8085 Microprocessor

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 11:10:40

954 Views

In this mode, the data is copied from one register to another. For example, MOV A, B: means data in register B is copied to register A.MOV E, HIt occupies only 1-Byte in memory. MOV E, H is an example instruction of this type. It is a 1-Byte instruction. Suppose E ... Read More

Intel 8259A Programmable Interrupt Controller

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 11:03:51

483 Views

8085 microprocessor, consists of five interrupt input pins named as RST 5.5, RST 6.5, RST7.5, INTR, and TRAP respectively. When there are a maximum of five I/O devices they want to perform driven interrupt data transfer, which is connected to the five interrupt input pins. Now considering the case where ... Read More

Slave register in 8259

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 10:57:36

605 Views

It is also an 8-bit register. The processor here writes to SLR but cannot read. The content of this register here implies a different meaning for Master8259 and Slave 8259. Through Master 8259 information is carried through the IR inputs to which Slave 8259s are connected. If the SLR of ... Read More

Programming the 8259 with slaves

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 10:56:37

3K+ Views

We have assumed that the processor that the processor used in this microcomputer system is 8085, and the slave which is connected to the input IR4 of Master 8259. The address of the port of 8259 is dependent on the chip and the circuit used. Using ICWs and OCWs the ... Read More

8085 Program to find Square of a number using look up table

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 10:52:40

3K+ Views

Now let us see a program of Intel 8085 Microprocessor. This program is mainly for finding a square of a number.Problem StatementWrite 8085 Assembly language program to find the square of a number using Look-Up Table. DiscussionIn this example, we are using Look-Up table to find the square of a number. ... Read More

8085 Program to Subtract two 8 Bit numbers

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 10:44:57

17K+ Views

In this program, we will see how to subtract two 8-bit numbers using 8085 microprocessor.Problem StatementWrite 8085 Assembly language program to subtract two 8-bit numbers and store the result at locations 8050H and 8051H.DiscussionIn 8085, the SUB instruction is used 2’s complemented method for subtraction. When the first operand is ... Read More

8085 Program to Divide two 8 Bit numbers

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 10:41:21

12K+ Views

In this program, we will see how to divide two 8-bit numbers using 8085 microprocessor.Problem StatementWrite 8085 Assembly language program to divide two 8-bit numbers and store the result at locations 8020H and 8021H.DiscussionThe 8085 has no division operation. To get the result of the division, we should use the ... Read More

Get natural logarithm value using Math.log in Java

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 10:02:10

2K+ Views

To obtain the natural log of a number, we use the java.lang.Math.log() method. The Math.log() method returns the natural logarithm i.e. log to the base e of a double value. If the value passed is NaN or negative, the result is NaN. If the value passed is positive infinity, then ... Read More

Get the hyperbolic cosine of a given value in Java

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 09:59:19

138 Views

In order to get the hyperbolic cosine of a given value in Java, we use the java.lang.Math.cosh() method. The cosh() method accepts an argument in radians and returns the hyperbolic cosine of the argument which acts as the angle.Declaration − - The java.lang.Math.cosh() is declared as follows −public static double ... Read More

Check if the String contains only unicode letters in Java

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 09:55:48

11K+ Views

In order to check if a String has only Unicode letters in Java, we use the isDigit() and charAt() methods with decision-making statements.The isLetter(int codePoint) method determines whether the specific character (Unicode codePoint) is a letter. It returns a boolean value, either true or false.Declaration −The java.lang.Character.isLetter() method is declared ... Read More

Advertisements