C
In computing, C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.
Application
Any
Platform
License
Any
I forgot TASM... sorry, but here is some pseudo-code:
open file
nbytes = get file size
token = 0
nwords = 0
repeat 'nbytes' times
{
c = read one character from file
if (c is a word...
When dealing with a single hard drive - multithreading may be slower. No matter how many CPU or cores you have - a single physical drive may cause excessive wear on the drive and slow processing....
Help someone please. i need help designing a C program for my remote control car that will be controlled by a cell phone via thru bluetooth... Can anyone please help me with this program.
we need a code in C that converts binary to octal, decimal to hexadecimal and octal to hexadecimal.. :)
Right usually word = sizeof ( int) = 2 byte in x86 system
Can any one have some clue for the attached question.
The replacement is made when compiler links all together - only at this moment it can see the function size. Then the Assembly code of the function is placed instead of a function call. When code...
Like this?
a = 1+2
b = 5-3
c equ (a*b)
d equ (a/b)
e = c mod 3
mov al, a
mov bx, e
Are you worrying about that you are still not found a reliable free of charge to embedded development tools? Coocox can relieve your anxiety!It is providing ARM Cortex-M3 development tools, all is...
I believe I'm reading this correctly:
Mind you this is FPC syntax, YMMV.
keyboardhandler(var r:regs);
scancode:byte;
c:char;
begin
if readportb($64) and 32=0 then begin...
That's a very different question than the original. I'm no expert, but afaik, the Athlon has 64-byte cache lines, so if you have the 16 bytes of data aligned to within a 64-byte boundary, then you...
I have a question about programming a PIC18F87J50.
I wonder how I should write a interrupt routine that works as a timer.
I need a stable timer that gives a interrupt every 0,25 us (4 MHz pulses)...
Hi there,
Tried searching for this on the forum but couldn't find anything. I have a program which simply loads a dialog box at particular times of the day, depending on the user's settings. The...
The easiest way is to use an existing library.
If you want to roll your own, essentially you need a recursive parser. Each time you hit a new tag you add a new node to the tree, then for repeats...