Message-Id: <199704302029.UAA11378@mx2.rmplc.co.uk> From: "Liam" To: "Gautam N. Lad" Cc: Subject: Re: Getting Started Date: Wed, 30 Apr 1997 14:30:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Precedence: bulk > 1) What the operators << and >> do and what is their use in programming (If > this involves converting HEX and/or Binary, I'd like info. on that too). In C++ its used for printing and getting input with cout, 'cout << "Message"; ' and more generally for bit shifting left, <<, or right, >>. > 2) What the operator & does and what is it's use in programming It returns the address of the variable, so #include void main(void) { int a; int *pointa; a=10; printf("a=%d\n", a); pointa=&a; /* pointa contains the address of a*/ *pointa=99; /* a now equals 99 */ printf("a=%d\n", a); } > 3) I want to program using registers and interrupts (NO ASSEMBLY - > PLEASE), and I would like info on how to use interrupts and registers and what > they mean and do. Your going to have to know alittle about assembly if you want to use interupts. Theres a command that lets you use registers directly, it should tell you this in the FAQ. > I'd like info. that's available on the 'Net; I do not have books, and I do not plan on > buying any you recommend either. However, I may ask my local library to get > it! Tried it, but they wernt interested, they only get books that would be read buy more than a dozen of people, yours may be different of course. > Oh, thanks to those who explained me what '>>, <<, and &' operators do. But I > still need more info. Thanks anyways! Try may make shift web site, the schools http://www.rmplc.co.uk/eduweb/sites/marl/Liam.html and this one may be of some use, its a bit more orientated towards Assembly http://www.rmplc.co.uk/eduweb/sites/marl/ftp/index.html Liam marl AT rmplc DOT co DOT uk