Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Tags
c x 4
c++ x 1

4 Posted Topics

Member Avatar for acer5542

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 …

Member Avatar for kalish88
0
477
Member Avatar for Danny_501

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]

Member Avatar for Ancient Dragon
0
221
Member Avatar for acer5542

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- …

Member Avatar for acer5542
0
353
Member Avatar for acer5542

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 …

Member Avatar for Adak
0
126

The End.