EmbLogic's Blog

parallel port and its modes????

our realistic work:

compatibility: sends one byte data on data port line and take the output by leds,

nibble mode: sends data on upper 4bits of the data port and receive by the upper bits of the status register . and control register used for controling the receiver device.so it take two clock to send one byte of data.

byte mode : sends one byte data and receive one byte data by the data register in single clock.

but my problem is these all modes performing  simplex communication unidirectional , i want to make it half duplex if it is possible, please tell me its very humble request to u.

Posted in Parallel Port Driver | Leave a comment

bitwise value of int

why only char pointer gives bytewise value of int datatype…
why an increment in the value of int pointer fetches the address of next int variables after 4 bytes…not the address of next consecutive int byte…???

Posted in Uncategorized | Leave a comment

assignment status…pankaj

have completed 20 questions of assignment…

Posted in Uncategorized | Leave a comment

status about asignments

Sir,

I complete all the linux assigment except man page and CR and LF.

I also completed three assignment of c .

Posted in Uncategorized | Leave a comment

maximum value

What data type should I use to hold the value 3.0e-23

Posted in Uncategorized | 1 Comment

Floating point

Can anyone tell me how floating point overflow works

float f=43268.478912

printf(“%f\t”,f);

The output comes to 43268.480469

Posted in Uncategorized | 1 Comment

I have problem with the code

double d;

int i;

float f ;

long l;

i=l=f=d=100;

printf(“%.8g\t”,(double)i);

The output comes 33 instead of 33.33333

Why and what is the significance of %.8g

Posted in Uncategorized | 1 Comment

update to Sidharth sir: 2nd byte of an int

Sir,

now, able to get byte wise values of an int.

Posted in Data Structures with C | Leave a comment

Floating points overflow

Sir,

How to check the overflow and underflow of a float.??

 

Posted in Data Structures with C | Leave a comment

update regarding linux assignment.

sir,
assignments of linux for enviroment variables,termios,make file,syslog,rcsfile is done…

Posted in Uncategorized | Leave a comment

Update regarding assignment

Sir, assignment 4 has been done  by me.

regards

Dharmendra Nath Shandilya

Posted in Uncategorized | Leave a comment

Update to Siddhart regarding man page

Sir i have done the man page assignment

regards

Dharmendra Nath Shandilya

Posted in Uncategorized | Leave a comment

Update to Siddhart sir manual page question

we compress to save the memory so that we can save memory space for the manual file  for feature expansion more no of user define manual pages   . ‘gzip’ compress file less than 1/3 of the original file while ‘compress’ by more than 1/2 of original file .

regard

Dharmendra Nath Shandilya

Posted in Uncategorized | Leave a comment

Update to Siddhart sir regarding LINUX and make utility RCS

sir i have done all the three parts  doing more  to make  command on it

Regards

Dharmendra Nath Shandilya

Posted in Uncategorized | Leave a comment

Double pointer assignment to Sidharth Sir

sir assignment is done :)

Posted in Uncategorized | Leave a comment