EmbLogic's Blog

Author Archives: Abhilash Singh

Adding two numbers without using operators

we have provided many utilities in printf ,in which one of it is adding two positive number (only for positive numbers).here it goes like this, we all now that printf() On success,returns the total number of characters written. On failure, … Continue reading →

Posted in Uncategorized | Leave a comment

PARALLEL PORT

compatibility mode:    checked with hardware working fine now moving on Nibble mode

Posted in Uncategorized | Leave a comment

Multiple data compression

completed mdc of code lenght 4 now going ahead for next code lenght.

Posted in Uncategorized | Leave a comment

find whether the number is power of 2 or not in one line expression

Logic- when u convert a decimal number to its binary number then u get series of 1 and 0 ,Now if a number is power of two then u will observe it has only one (bit 1) and if you … Continue reading →

Posted in Uncategorized | Leave a comment