Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[win xp, olly] Problem assembling this line in olly.

Featured Replies

Posted

Hey guys, i am new to assembly language and i can't seem to assemble the line in olly:

xor byte ptr ds:[eax], byte ptr ds:[ecx]

what am i doing wrong?

thanks

Hi,

do not use double brackets. [],[]


xor byte ptr ds:[eax], byte ptr ds:[ecx]

PUSHAD
------
MOV EAX,DWORD PTR DS:[1001000]
MOV ECX,DWORD PTR DS:[1014000]
XOR AL,CL
MOV BYTE PTR DS:[1001000],ALNOP ;or
MOV ECX,DWORD PTR DS:[ECX]
XOR BYTE PTR DS:[EAX],CL
-------
POPAD

Try this.

greetz

Edited by LCF-AT

Erm nope...

Cant xor mem 2 mem..you need to use a register..

  • Author

Hey thanks for the quickie. I will try that.

What is the difference between these statements:

MOV EAX, BYTE PTR DS:[1001000]

MOV EAX, DWORD PTR DS:[1001000]

Thanks

MOV EAX, BYTE PTR DS:[1001000] <-- Does not work
MOV EAX, DWORD PTR DS:[1001000]
Byte = 1 byte | 00
DWORD = 4 bytes | 00 00 00 00
Word = 2 bytes | 00 00MOV AL,BYTE PTR DS:[1001000] | byte
MOV AX,WORD PTR DS:[1001000] | word
MOV EAX, DWORD PTR DS:[1001000] | DWORD

greetz

  • Author

@LCF-AT: thanks

ok i got it to work as:


mov eax, 00404c05
mov ecx, 004129f3mov bh,bype ptr ds:[ecx]
xor byte ptr ds:[eax],bhinc eax
inc ecx

Then i guess that

xor byte ptr ds:[eax],byte ptr ds:[ecx]

is not a valid instruction.

thanks

Edited by tukki_2020

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.