Hi! people!
I want to find the fastest way
to load the pointer from stack to ds:di!
What do you think?
--------------------------------------------------------------------------------------
Rußland
How to load pointer...
Moderatoren: crack, Krüsty, Marwin
- Marwin
- Moderator
- Beiträge: 307
- Registriert: Donnerstag 8. Mai 2003, 21:19
- Wohnort: Seelow, Deutschland
- Kontaktdaten:
also SS:SP =] DS:DI?
Ich würde es folgendermaßen machen:
4 Bytes:
Marwin
Ich würde es folgendermaßen machen:
4 Bytes:
Code: Alles auswählen
lea di, sp; 1 clock cycle
push ss; 3 clock cycles
pop ds; 3 clock cycles
Well, I do it nearly so, but my friend said that
I should use shl, shr for it.
I think shl isnt so fast and have a lot of probelm, isnt it?
Do you know another way to load it?
--------------------------------------------------------------------------------------------
Rußland
I should use shl, shr for it.
I think shl isnt so fast and have a lot of probelm, isnt it?
Do you know another way to load it?
--------------------------------------------------------------------------------------------
Rußland
If the ship don't know where to go - it has no fair wind...
To be honest, I dont know... [_[
I dont ask my friend to show me.
May be he loads from stack to register full element and than...
When I ask him Ill show his "method"
...
---------------------------------------------------------------------------------------
Rußland
I dont ask my friend to show me.
May be he loads from stack to register full element and than...
When I ask him Ill show his "method"
---------------------------------------------------------------------------------------
Rußland
If the ship don't know where to go - it has no fair wind...