Karthikeya Boyini has Published 2383 Articles

Instruction type STAX rp in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

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

9K+ Views

In 8085 Instruction set, STAX is a mnemonic that stands for SToreAccumulator contents in memory pointed by eXtended register denoted as “rp”.Hererp stands for register pair. This instruction uses register indirect addressing for specifying the destination. So using this instruction, the current content of Accumulator will be written to the ... Read More

Instruction type SHLD a16 in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

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

8K+ Views

In 8085 Instruction set, SHLD is a mnemonic, which stands for Store HLpair using Direct addressing in memory location whose 16-bit address is denoted as a16. As HL pair has to be stored, so it has to be stored in two consecutive locations starting at the address a16. We know ... Read More

Instruction type ADI d8 in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

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

5K+ Views

In 8085 Instruction set, ADI is a mnemonic, which stands for “ADd Immediate to Accumulator” and here “d8” stands for any 8-bit or 1-Byte of data. This instruction is used to add 8-bit immediate data to the Accumulator. The result of addition will be stored in the Accumulator. So the ... Read More

Print m multiplies of n without using any loop in Python.

karthikeya Boyini

karthikeya Boyini

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

196 Views

Given a number n, print m multiplies of n without using any loop. Here we use recursive function. Examples Input: n = 15 Output: 15 10 5 0 5 10 15 Algorithm Step 1: Given n. Step 2: If we are moving back toward the n and ... Read More

Enqueue and deque in Queue class in C#

karthikeya Boyini

karthikeya Boyini

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

641 Views

Queue collection class is a concept in C# that is included in the System.Collection namespace. The elements are stored in a QUEUE in FIFO. The first element added will be the first to go out like a queue of people outside a movie hall to buy tickets. It has two ... Read More

Python program to find Maximum and minimum element’s position in a list?

karthikeya Boyini

karthikeya Boyini

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

15K+ Views

In python is very easy to find out maximum, minimum element and their position also. Python provides different inbuilt function. min() is used for find out minimum value in an array, max() is used for find out maximum value in an array. index() is used for finding the index of ... Read More

Python program to print the initials of a name with last name in full?

karthikeya Boyini

karthikeya Boyini

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

4K+ Views

Here we use different python inbuilt function. First we use split().split the words into a list. Then traverse till the second last word and upper() function is used for print first character in capital and then add the last word which is title of a name and here we use ... Read More

Covariance and Contravariance in C#

karthikeya Boyini

karthikeya Boyini

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

205 Views

To deal with classes effectively, use the concept of covariance and contra variance. Let us consider the following as our class. One is a base class for class Two, whereas Two is a base class for Three. class One { } class Two: One { } class Three ... Read More

Python program to reverse bits of a positive integer number?

karthikeya Boyini

karthikeya Boyini

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

2K+ Views

First convert number into binary using bin() function. Then skip the first two character of binary representation because bin() appends 0b as a prefix in a binary representation of the number and reverse the remaining part. From also character and reverse it till second last character from left. Convert a ... Read More

Plotting graph using seaborn in python.

karthikeya Boyini

karthikeya Boyini

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

490 Views

Plotly's Python graphing library makes interactive, publication-quality graphs online. this graph is mainly used when we want to make line plots, scatter plots, area charts, bar charts, error bars, box plots, histograms, heatmaps, subplots, multiple-axes, polar charts, and bubble charts. Seaborn is a library for making statistical graphics in Python. ... Read More

Advertisements