Chandu yadav has Published 1091 Articles

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

Chandu yadav

Chandu yadav

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

4K+ 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

23K+ 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

17K+ 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

3K+ 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

198 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

12K+ 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

Get the arc cosine of an angle in Java

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 09:50:18

199 Views

To get the arc cosine of a given value in Java, we use the java.lang.Math.acos() method. The acos() method accepts a double value whose angle needs to be computed. The range of the angle returned lies in the range 0 to pi. If the argument is NaN or greater than ... Read More

Schedule a task for execution in Java

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 09:43:24

6K+ Views

One of the methods in the Timer class is the void schedule(Timertask task, Date time) method. This method schedules the specified task for execution at the specified time. If the time is in the past, it schedules the task for immediate execution.Declaration −The java.util.Timer.schedule(Timertask task, Date time) is declared as ... Read More

Schedule a task for execution in Java after a given delay

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 09:37:39

2K+ Views

One of the methods in the Timer class is the void schedule(Timertask task, long delay) method. This method schedules the specified task for execution after the specified delay.Declaration −The java.util.Timer.schedule(Timertask task, long delay) is declared as follows −public void schedule(Timertask task, long delay)There are few exceptions thrown by the schedule(Timertask ... Read More

Call the run() method of the Timer Task in Java

Chandu yadav

Chandu yadav

Updated on 26-Jun-2020 09:31:30

799 Views

The java.util.TimerTask.run() method looks onto the action to be performed by the task. It is used to carry out the action performed by the task.Declaration −The java.util.TimerTask.run() method is declared as follows −public abstract void run()Let us see an example program to call the run() method of the Timer Task ... Read More

Advertisements