Karthikeya Boyini has Published 2383 Articles

Instruction type DCX SP in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

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

1K+ Views

In 8085 Instruction set, DCX SP instruction is used to decrement the SP contents by 1. DCX SP instruction is a special case of DCXrpinstruction which decreases the content of the register pair. This instruction occupies only 1-Byte in memory. Mnemonics, Operand Opcode(in HEX) Bytes ... Read More

Instruction type NOP in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

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

4K+ Views

In 8085 Instruction set, NOP is an instruction which is falling under Machine Control Instruction category. NOP is a mnemonic that stands for “No Operation”. This instruction does nothing during execution. Only it occupied 1-Byte of memory space and spends 4-Machine Cycles. Mnemonics, Operand Opcode(in HEX) Bytes ... Read More

The Best C++ Code Formatter/Beautifier?

karthikeya Boyini

karthikeya Boyini

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

632 Views

There are so many C++ code formatter or beautifier tools which beautifies your code or format with proper indentation. The C++ code formatter/ beautifier are listed as follows − C++ Code Formatter/Beautifier Description Astyle This is a source code formatter. It can be used for ... Read More

Stack and Queue in Python using queue Module

karthikeya Boyini

karthikeya Boyini

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

455 Views

In Python, it is very easy to implement stack and queue data structures. Stack is called LIFO because Stack works on the principle of "Last-in, first-out" and Queue is called FIFO because Queue works on the principle of "First-in, first-out", and the inbuilt functions in Python make the code shorter ... Read More

Java program to check if binary representation is palindrome

karthikeya Boyini

karthikeya Boyini

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

3K+ Views

A palindrome is a sequence that is same both forwards and backwards. The binary representation of a number is checked for being a palindrome but no leading 0’s are considered. An example of this is given as follows − Number = 5 Binary representation = 101 The binary ... Read More

Introduction to Analysis of Algorithms

karthikeya Boyini

karthikeya Boyini

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

2K+ Views

In theoretical analysis of algorithms, it is common to estimate their complexity in the asymptotic sense, i.e., to estimate the complexity function for arbitrarily large input. The term "analysis of algorithms" was coined by Donald Knuth. Algorithm analysis is an important part of computational complexity theory, which provides theoretical estimation ... Read More

Java program to Sort long Array

karthikeya Boyini

karthikeya Boyini

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

1K+ Views

To sort long array in Java, use the Arrays.sort() method. Let’s say the following is our long array. long[] arr = new long[] { 987, 76, 5646, 96, 8768, 8767 }; To sort the above long array is an easy task in Java. Use the following method. ... Read More

Introduction to Algorithms for Mathematical Problems

karthikeya Boyini

karthikeya Boyini

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

345 Views

In this section we will see some common mathematical problems and their possible way solve using different computational algorithms. We will see how to solve differential equations, integrations and some other complex mathematical problems. In this Section We are going to cover − Convert Infix to Postfix Expression Convert ... Read More

Different ways to format long with Java System.out.format

karthikeya Boyini

karthikeya Boyini

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

355 Views

The System.out.format is used in Java to format output. Here, let’s say the following is our long. long val = 787890; To format, we have considered the following that justifies the output. System.out.format("%d%n", val); System.out.format("%9d%n", val); System.out.format("%+9d%n", val); System.out.format("%08d%n", val); System.out.format("%, 9d%n", val); The following is ... Read More

Generate a graph using Dictionary in Python

karthikeya Boyini

karthikeya Boyini

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

2K+ Views

The graphs can be implemented using Dictionary in Python. In the dictionary, each key will be the vertices, and as value, it holds a list of connected vertices. So the entire structure will look like Adjacency list of a graph G(V, E). We can use the basic dictionary object, ... Read More

Advertisements