No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
7. The parity of a binary number is defined as: The parity of a binary number depends on the number of 1 bits in the number parity is "even" if there are an even no of 1s in the number and "odd" otherwise: e.g. parity of 0011001100110011 is even. Draw …
wht abt this...... more clear [CODE] int chartoint(char s[]) { int i,no=0; for(i=0;s[i]!=0;i++) // for every char in the string if(str[i]>='0' && str[i]<='9') // if it is a digit no=no*10+str[i]-48; // add it to the end of the number return no; } int main{ printf("%d", chartoint(charArray)); } [/CODE] [QUOTE]:)[/QUOTE]
Question- Q9. Draw the truth table for a logic function that will subtract three bits to produce a difference and a borrow. 10. Draw the logic diagram for a circuit that implements the function in question 9. answer for Q9. Truth table for Qn 9 _____[U]B D[/U] -----B- Borrow D- …
Hey guys, I have to write a c code for an emulator of a very simple CPU. The CPU uses 16 bits for all addresses and data and has three registers, I, A and PC. The instruction cycle is as follows: 1. Fetch the operand for the current instruction (an …
The End.
acer5542