Demo 8 __aullshr, reference

If you are new to OS Development, plan on spending some time here first before going into the other forums.

Moderator: Moderators

Post Reply
Posts: 8
Joined: Thu Oct 29, 2009 4:59 pm

Demo 8 __aullshr, reference

Post by _ross_ » Thu Oct 29, 2009 5:05 pm

In Visual Studio 2008. I get an unresolved external reference to __aullshr for every Unsigned shift right.
In Visual C++ 2005 Express it compiles, but it says its corrupt...(Ot, it can't find it).

Is this (VS2008) bug known?
And, is there a way of fixing either of these problems?

Posts: 5
Joined: Mon Sep 21, 2009 5:15 pm

Re: Demo 8 __aullshr, reference

Post by BlastOS » Fri Oct 30, 2009 2:31 pm


I had the same problem ... =16&t=1254

You can find in the project properties a optimizer option that you need to set to other than custom

Hope it'll help...

Posts: 8
Joined: Thu Oct 29, 2009 4:59 pm

Re: Demo 8 __aullshr, reference

Post by _ross_ » Fri Oct 30, 2009 4:42 pm

That fixed that...... But still: MISSING OR CORRUPT KRNL32.EXE

Posts: 387
Joined: Tue Oct 23, 2007 10:05 am

Re: Demo 8 __aullshr, reference

Post by Andyhhp » Sat Oct 31, 2009 1:26 am

__aullshr is an intrinsic MSCV operation.

you need to specify in the compiler settings not to use builtin functions (settings -> C/C++ -> advanced)

alternativly, stick

Code: Select all

extern unsigned int _aullshr(unsigned int)
in a header file somewhere


Post Reply