Ankith Reddy has Published 1070 Articles

Action taken by 8085 when INTR pin is activated

Ankith Reddy

Ankith Reddy

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

218 Views

We have assumed that the interrupt system gets enabled by using the EI instruction, and the signals which have higher priority are not in active state.In the penultimate clock cycle of the last machine cycle of every instruction, the 8085 senses all the internal interrupt signals.If the INTR internal signal ... Read More

MySQL query to select all entries from a particular month

Ankith Reddy

Ankith Reddy

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

17K+ Views

To select all entries from a particular month in MySQL, use the monthname() or month() function.The syntax is as follows.select *from yourTableName where monthname(yourColumnName)='yourMonthName';To understand the above syntax, let us create a table. The query to create a table is as followsmysql> create table selectAllEntriesDemo -> ( ... Read More

Pin details and its address range in 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

1K+ Views

Let us assume that we have a RAM chip of 2K x 8, It signifies that, we have 2 x 1024 = 2048 memory locations having information of 8 bits at each location. For selecting one of 2K = 211 memory locations in chip, there should be exactly input pins ... Read More

How to Get the current language in Android device?

Ankith Reddy

Ankith Reddy

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

2K+ Views

While doing internalization in android application, we should know what is the current language in android device. This example demonstrate about how to Get the current language in Android device.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details ... Read More

The iterator() method of CopyOnWriteArrayList in Java

Ankith Reddy

Ankith Reddy

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

69 Views

The iterator() method is used to return an iterator over the elements in this list.The syntax is as followsIterator iterator()To work with CopyOnWriteArrayList class, you need to import the following packageimport java.util.concurrent.CopyOnWriteArrayList;The following is an example to implement CopyOnWriteArrayList class iterator() method in JavaExample Live Demoimport java.util.Arrays; import java.util.Iterator; import java.util.concurrent.CopyOnWriteArrayList; ... Read More

Program for simulating a stopwatch in 8085 Microprocessor

Ankith Reddy

Ankith Reddy

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

456 Views

We write an 8085 assembly language program just to simulate a stopwatch for displaying minutes and seconds in the address field. There exists a provision to stop the stopwatch, along with the display for continuation to show the time just previous to the stop command.FILE NAME STOPWACH.ASM PRESSING THE ‘VECT ... Read More

How to check android mobile supports PROXIMITY sensor?

Ankith Reddy

Ankith Reddy

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

151 Views

This example demonstrate about How to check android mobile supports PROXIMITY sensorStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the ... Read More

How to find strings with a given prefix in MySQL?

Ankith Reddy

Ankith Reddy

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

3K+ Views

You can use LIKE operator to find strings with a given prefix.The syntax is as followsselect *from yourTableName where yourColumnName LIKE 'yourPrefixValue%';To understand the above syntax, let us create a table. The query to create a table is as followsmysql> create table findStringWithGivenPrefixDemo    -> (    -> UserId int ... Read More

Use of 74138 in ALS-SDA-85M kit

Ankith Reddy

Ankith Reddy

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

106 Views

In the ALS-SDA-85M kit, we have 74138 EPROM of minimum size 16K x 8 and size of RAM IS 2K x 8, there are empty sockets for the EPROM to get expanded. The selection of these four chips is done by the integrated circuit 74138. Every time the selection of ... Read More

How to check android mobile supports TEMPERATURE sensor?

Ankith Reddy

Ankith Reddy

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

471 Views

This example demonstrate about How to check android mobile supports TEMPERATURE sensorStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the ... Read More

Advertisements