Register for your free account! | Forgot your password?

Go Back   elitepvpers > Blogs
You last visited: Today at 15:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Hier poste ich ASM und Reversing Zeugs welches ich nicht in einem Thread packen kann, da es sich nicht lohnen würde.
Old

Array Rotation

Posted 12/28/2013 at 02:45 by ​Tension (Reversing mit Tension)
Updated 12/29/2013 at 01:51 by ​Tension

Jo,
Ich brauchte diese Funktion gerade bei einem Projekt.

Code:
p = { 1,2,3,4,5 }; //Das Array
n = 2; //Die Runden
rot_array_l, p, 5, n; //5=Größe des Arrays
p = { 3,4,5,1,2 }; //Das Array nach der Rotation.
ich poste es hier für BYTES, man kann es natürlich auch für WORD- und DWORD-Arrays anpassen sollte ja nicht alt zu schwer sein ( wenn man etwas Assembler kann ).

rot_array_r => Nach Rechts drehen
rot_array_l =>...
tightest pimp in town
Posted in Uncategorized
Views 267 Comments 0 ​Tension is offline

All times are GMT +1. The time now is 15:52.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.