Yup here is an inlined assembly example:
// Generated Assembler:
// only 14 instructions !
Project1.dpr.2073: WriteLongwordBitsA1B1( Value, @[EMAIL PROTECTED]
BitPointer );
0040A207 8BD7 mov edx,edi
0040A209 8BC8 mov ecx,eax
0040A20B C1E903 shr ecx,$03
0040A20E 01CA add edx,ecx
0040A210 83E007 and eax,$07
0040A213 8BC8 mov ecx,eax
0040A215 8BF3 mov esi,ebx
0040A217 D3E6 shl esi,cl
0040A219 0932 or [edx],esi
0040A21B B920000000 mov ecx,$00000020
0040A220 2BC8 sub ecx,eax
0040A222 D3EB shr ebx,cl
0040A224 83C204 add edx,$04
0040A227 091A or [edx],ebx
Bye,
Bye,
Skybuck ;) =D


|