flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2, 3, 4, 5, 6, 7 Next |
Author |
|
Teehee
LOOP ?
everybody say it is slow and should be replaced by Jcc instr. .. Which others instructions are "useless"? _________________ Sorry if bad english. |
|||
![]() |
|
ouadji
jecxz ? |
|||
![]() |
|
edfed
xchg ebp,ebp
|
|||
![]() |
|
typedef
ouadji wrote:
Hmmmm ? Would you rather Code: cmp ecx,0 je .xxx |
|||
![]() |
|
Teehee
edfed wrote: xchg ebp,ebp not so useless: a 2-bytes NOP ![]() _________________ Sorry if bad english. |
|||
![]() |
|
vid
Where is tom when we need him?
![]() |
|||
![]() |
|
ouadji
Code: or ecx,ecx
jz mylabel with "jecxz" the jump is limited to 128 bytes, in many cases it's not enough. There should be a "near version" of jecxz ! and it seems that it's faster too! (??) |
|||
![]() |
|
Tyler
lea is pretty pointless.
|
|||
![]() |
|
mindcooler
jecxz is pretty useless if you use ebx as your counter
![]() |
|||
![]() |
|
idle
sub eax,eax
cmovnz eax,[eax] |
|||
![]() |
|
Teehee
Tyler wrote: lea is pretty pointless. ++++++++++++++1 ![]() _________________ Sorry if bad english. |
|||
![]() |
|
Overflowz
Quote: lea is pretty pointless. No way! It' saves alot of work for me :p |
|||
![]() |
|
edfed
lea is good, it means:
X=Y*scale+Z+Constant then, it is not so pointless, it is some advanced signal processing instruction. |
|||
![]() |
|
JohnFound
"loop" is great instruction for programmers (also string instructions) it is not our fault they are slow. In most cases using "loop" makes your code readable and small.
For example FASM uses "non optimal" instructions all over the source, but it is still, the fastest assembler in the world. How is it possible? Meditate on this. ![]() |
|||
![]() |
|
revolution
FFREE
Does anyone actually use it in a beneficial way? |
|||
![]() |
|
idle
fnop - dangerous nop ?
|
|||
![]() |
|
cod3b453
I'd go for ud2
![]() |
|||
![]() |
|
xleelz
what is std and cld good for?
|
|||
![]() |
|
revolution
|
|||
![]() |
|
Goto page 1, 2, 3, 4, 5, 6, 7 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.