answersLogoWhite

0


Best Answer

sdfsdfsfsggbcvbg

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Do an 8086 assembler program to find parity of a given number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How explain the terms even parity and odd parity Is one method bettrer than the other?

"Parity" refers to the number of 1s in a given binary number. Odd parity means there are an odd number of 1s and even parity means that there are an even number of 1s. Parity bits are often used as a crude means of error detection as digital data is transmitted and received. For example, 0b11010100 has 4 1s in it, therefore, it has even parity. Two devices exchanging data must be set to the same parity. If both are set (strapped) for odd parity, for example, then the sending device must ensure that the number of bits in each word has an odd number of 1s. Likewise, the receiving device must be set to ensure it only receives words with an odd number of 1s. An odd parity bit is defined as a bit in the word which can be set to ensure odd parity. If the word already has an odd number of 1s, then the parity bit is not set. If the word otherwise has an even number of 1s, the parity bit is set to ensure an odd number of 1s. The same is true for even parity settings. One way is not necessarily better than the other in theory but, in practice, should observe the convention for the system in question. Many (if not most) devices provide a connector pin that can be strapped to define either even or odd parity.


Given the character 0110101 with bit will be added to support even parity?

0.


How does longitudinal parity works?

Longitudinal parity, sometime it is also called longitudinal redundancy check or horizontal parity, tries to solve the main weakness of simple parity.The first step of this parity scheme involves grouping individual character together in a block, as fig given below 1.1fig.Each character (also called a row) in the block has its own parity bit. In addition, after a certain number of character are sent, a row of parity bits, or a block character check, is also sent. Each parity bit in this last row is a parity check for all the bits in the Colum above it. If one bit is altered in the Row 1, the parity bit at the end of row 1 signals an error. If two bits in Row 1 are flipped, the Row 1 parity check will not signal error, but two Colum parity checks will signal errors. By this way how longitudinal parity is able to detect more errors than simple parity.


Could you write a assembly language program in tasm To check whether a given number present in a sequence of given memory location containing the string to be checked in 8086?

8086 assembly language program to check wether given number is perfect or not


Can a program written in 8085 microprocessor run in 8086 microprocessor?

No. They have a different instruction set. However, the processors are sufficiently similar that an 8086 assembler could assemble an 8085 program, given appropriate constants and macros. Some things, however, such as RIM, SIM, RST, etc. do not have equivalents in the 8086.


Are there nine bits with an 8-bit even parity setting?

There are at least 9 bits. 8-bit data, even parity, means an extra bit called a parity bit is sent along with the data to make the number of 1's even in the total number (including the parity bit). There might be more than 9 bits, if start/stop or other bits are used in the code. For example, the data value 00000001 (8 data bits), if even parity is used, an extra bit would be sent thus: 100000001 (total number of 1's is 2, even). If the value of the data was 00000011, then the parity bit would have a value of 0, 000000011, so the total number of 1's is even in the entire string. The purpose is so that on the receive side you can use a simple 1-bit adder to do a sanity check on the received data to see if the correct number of 1's was received in a given byte being received. If even parity was sent, and odd parity was calculated on the receive side, that data byte can be flagged as in error and possibly dropped.


What do you mean by assembler directives?

For completing all the tasks, an assembler needs some hints from the programmer, i.e. the required storage for a particular constant or a variable, logical names of the segments, types of the different routines and modules, end of file, etc. These types of hints are given to the assembler using some predefined alphabetical strings called assembler directives, which help the assembler to correctly understand the assembly language programs to prepare the codes.


Shell program to find the smallest digit of a given number?

syntax error


Program for finding the factorial of the two given number using constructor?

kjhk


Need a'c' program to find given number is even or odd?

No, thanks.


Fox pro program to reverse the given number?

reverse programe in fox pro


What do you mean by directive?

For completing all the tasks, an assembler needs some hints from the programmer, i.e. the required storage for a particular constant or a variable, logical names of the segments, types of the different routines and modules, end of file, etc. These types of hints are given to the assembler using some predefined alphabetical strings called assembler directives, which help the assembler to correctly understand the assembly language programs to prepare the codes.