Fordy is probably right. When I was working on a compression algorithm, I tried to use register variables too. But when I clocked it next to the non-register code, there was no difference. It was my impression that the compiler had ignored my request, though I don't see why, since the entire program used very few variables. The IDE I was using was Dev-C++. In the future, if I really want to reserve a register, I think I'll try an asm block.