George John has Published 1081 Articles

8085 program to find minimum value of digit in the 8 bit number

George John

George John

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

459 Views

In this program we will see how to find the minimum digit from a two-digit number.Problem StatementWrite 8085 Assembly language program to find the minimum digit from a two-digit number. The number is stored at location 8000H, store the result at 8050H.DiscussionHere we are performing this task by using masking ... Read More

How to use action in JSP?

George John

George John

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

3K+ Views

The useBean action is quite versatile. It first searches for an existing object utilizing the id and scope variables. If an object is not found, it then tries to create the specified object.The simplest way to load a bean is as follows −Once a bean class is loaded, you can ... Read More

LongStream limit() method in Java

George John

George John

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

97 Views

The limit() method of the LongStream class in Java returns a stream consisting of the elements of this stream, truncated to be no longer than max in length. Here, max is the parameter of the method.The syntax is as follows.LongStream limit(long max)Here, max is the number of elements the stream ... Read More

8085 program to check whether the given 16 bit number is palindrome or not

George John

George John

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

482 Views

In this program, we will see how to check a 16-bit number is a palindrome or not.Problem StatementWrite the 8085 Assembly language program to check a 16-bit number is palindrome or not. The number is stored at location 8000H and 8001H.DiscussionA number is a palindrome if the number and its ... Read More

How do I stop a MySQL decimal field from being rounded?

George John

George John

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

587 Views

You can stop rounding decimal field with the help of DECIMAL() function. Here is the demo of a rounded decimal field. For our example, let us first create a demo tablemysql> create table stopRoundingDemo    -> (    -> Amount DECIMAL(7)    -> ); Query OK, 0 rows affected (0.67 ... Read More

Pin diagram of 8086 microprocessor

George John

George John

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

14K+ Views

The Intel 8086 is 40 pin DIP Microprocessor. Here we will see the actual pin level diagram of 8086 MPU.8086 was the first 16-bit microprocessor available in 40-pin DIP (Dual Inline Package) chip. Let us now discuss in detail the pin configuration of a 8086 Microprocessor.This is the actual pin ... Read More

How to compare field values in MongoDB?

George John

George John

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

295 Views

You can use $where operator to compare field values in MongoDB. Let us first create a collection with documents> db.comparingFieldDemo.insertOne({"Value1":30, "Value2":40}); {    "acknowledged" : true,    "insertedId" : ObjectId("5c9c99ed2d6669774125246e") } > db.comparingFieldDemo.insertOne({"Value1":60, "Value2":70}); {    "acknowledged" : true,    "insertedId" : ObjectId("5c9c99f62d6669774125246f") } > db.comparingFieldDemo.insertOne({"Value1":160, "Value2":190}); {    "acknowledged" ... Read More

8085 Program to simulate decimal up counter

George John

George John

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

2K+ Views

Now let us see a program of Intel 8085 Microprocessor. In this program we will see how to simulate the decimal up counter.Problem Statement:Write 8085 Assembly language program to simulate decimal up counter.Discussion:In this section we are simulating the decimal up counter. Here the counter will count 100 decimal numbers ... Read More

C++ Program to Search Sorted Sequence Using Divide and Conquer with the Aid of Fibonacci Numbers

George John

George John

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

552 Views

In this C++ program we implement a Divide and Conquer approach using Fibonacci numbers. Using Fibonacci numbers, we calculate mid of data array to search the data item. The time complexity of this approach is O(log(n)).AlgorithmBegin    Assign the data to the array in a sorted manner.    Take input ... Read More

Arithmetic instructions in 8086 microprocessor

George John

George John

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

17K+ Views

These instructions are used to perform arithmetic operations like addition, subtraction, multiplication, division, etc. In 8086 the destination address is need not to be the accumulator.Let us see the arithmetic instructions of 8086 microprocessor. Here the D and S are destination and source respectively. D and S can be either ... Read More

Advertisements