George John has Published 1167 Articles

Command mode in 8085 Microprocessor

George John

George John

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

505 Views

We have seen previously that the linker is invoked in three modes i.e. they are command line mode, prompt mode and data file mode. For the linker to be run in this mode we type ‘LINK85 -C MULT.OBJ’ along with the change of address. In the above command simply “MULT” ... Read More

How to alter a MySQL Column from varchar(30) to varchar(100)?

George John

George John

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

492 Views

You need to use ALTER TABLE command along with MODIFYThe syntax is as followsALTER TABLE yourTableName MODIFY COLUMN yourColumnName varchar(100) NOT NULL;To understand the above syntax, let us create a table. The query to create a table is as followsmysql> create table syntaxOfAlterCommandDemo    -> (    -> UserId int, ... Read More

Reset_in* and Reset_out pins in 8085

George John

George John

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

1K+ Views

Intel 8085 consists of a RESET_IN* pin which is an active low input pin. We RESET 8085 by placing a logic 0 on this pin at least for 0.5μs, after that the power is supplied to Vcc pin of 8085. Moreover, in practice we place the RESET_IN* in logic 0 ... Read More

Chip Select Logic in 8085 Microprocessor

George John

George John

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

1K+ Views

The master of microcomputer system is the microprocessor since all the operations of a computer are controlled by the microprocessor, the control unit often called as (CU) is found in the microprocessor. In the microcomputer system apart from processor there are several chips of RAM, CHIPS of EPROM and other ... Read More

Trap interrupt pin in 8085

George John

George John

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

4K+ Views

A non-maskable interrupt is a Trap Interrupt which implies that whenever this pin gets activated, the 8085 always gets interrupted even if the state of 8085 is in DI. The input of Trap input is level sensitive and edge sensitive. Hence the Trap line always makes a transition from 0 ... Read More

How to check android mobile supports HUMIDITY sensor?

George John

George John

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

158 Views

This example demonstrate about How to check android mobile supports HUMIDITY 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 Go back to previous activity in android

George John

George John

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

4K+ Views

If you wants to go back from one activity to another activity, This example demonstrate about how to go back to previous activity in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step ... Read More

Program for simulation of throwing a die in 8085 Microprocessor

George John

George John

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

398 Views

Write an 8085 assembly language program to simulate the throw of a die using an interrupt.We have a counter for this program, which counts the ranges from 1 to 6, and again repeats the sequence of count in a matter which is endless in an infinite loop. The die throwing ... Read More

How to check android mobile supports LIGHT sensor?

George John

George John

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

246 Views

This example demonstrate about How to check android mobile supports LIGHT 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

The lastIndexOf() method of CopyOnWriteArrayList in Java

George John

George John

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

71 Views

The lastIndexOf() method returns the index of the last occurrence of the specified element in this list. It returns -1 if this list does not contain the element.The syntax is as followspublic int lastIndexOf(Object ob)Here, ob is the element. The return value would be the last index of this element.To ... Read More

Advertisements