Why?
- From: "Todd Frankson" <tfrankson@xxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 09:11:45 -0400
I get an error when I compile the following in Delphi 7 but it compiles fine
in D5:
asm
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, [XR]
mov edx, [XL]
mov ebx, 0
mov esi, 0
mov edi, rounds
shl edi, 2
@:xor edx, [esi + offset boxes.pbox] <<---Error here of 'Inline
Assembler syntax error'
ror edx, 16
mov bl, dh
mov ecx, [ebx*4 + offset boxes.sbox1]
mov bl, dl
add ecx, [ebx*4 + offset boxes.sbox2]
rol edx, 16
mov bl, dh
xor ecx, [ebx*4 + offset boxes.sbox3]
mov bl, dl
add ecx, [ebx*4 + offset boxes.sbox4]
xor eax, ecx
xchg eax, edx
add esi, 4
cmp esi, edi
jne @
xchg eax, edx
xor eax, [esi + offset boxes.pbox]
xor edx, [esi+4 + offset boxes.pbox]
mov ebx, edx
pop edx
mov [XL], ebx
mov ebx, eax
pop eax
mov [XR], ebx
pop edi
pop esi
pop ecx
pop ebx
ret
end;
.
- Prev by Date: Re: Fastcode Presler Target PC
- Next by Date: Re: Why?
- Previous by thread: Yonah versus Dothan
- Next by thread: Re: Why?
- Index(es):
Relevant Pages
|
|