Karthikeya Boyini has Published 2550 Articles

Instruction type STAX rp in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

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

8K+ 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

array_chunk() function in PHP

karthikeya Boyini

karthikeya Boyini

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

49 Views

The array_chunk() function splits an array into chunks of arrays. It returns a multidimensional numerically indexed array, starting with zero. Syntax array_chunk(arr, chunk_size, preserve_key) Parameters arr − The array chunk_size − The size of chunk in integer preserve_key − It has the following values: TRUE- Keys are ... Read More

Instruction type SHLD a16 in 8085 Microprocessor

karthikeya Boyini

karthikeya Boyini

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

7K+ 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

array_count_values() function in PHP

karthikeya Boyini

karthikeya Boyini

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

5K+ Views

The array_count_values() function returns an array with the number of occurrences for each value. It returns an associative array. The returned array has keys as the array’s values, whereas values as the count of the passed values. Syntax array_count_values(arr) Parameters arr − The array for which we ... 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

array_diff_assoc() function in PHP

karthikeya Boyini

karthikeya Boyini

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

40 Views

The array_diff_assoc() function compares array keys and values, and returns the differences. The array_diff() function only compares the values, whereas in array_diff_assoc() function both the keys and values are used for comparison. Syntax array_diff_assoc(arr1, arr2, arr3, arr4, …) Parameters arr1 − Array to compare from. Required. ... 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

187 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

598 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

array_fill() function in PHP

karthikeya Boyini

karthikeya Boyini

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

137 Views

The array_fill() function is used to fill an array with values. It returns the filled array. It returns the filled array. Syntax array_fill(start_index, num, value) Parameters start_index − First index of the returned array. Required. num − The count of elements to insert. Required. value − The ... 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

14K+ 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

Advertisements