I'm just new to asm (a real newbie 8)), and I have a small question, don't blame me plz 8)
I'm using TASM. The compiler generates 3 nops after this instruction when Label2-Label1 is shorter than 7Fh bytes.
mov eax,
(ebp or even all other general purpose registers)
The instruction is 3 bytes in length and after it there are 3 additional nops (total 6 bytes)
And it DOES NOT generate any nops after that instruction when the difference between Label2 and Label1 is longer than 7Fh bytes.
When I use
mov eax,
(with XX < 7F)
the compiler DOES NOT generate nops, too.
My question here is "how to remove these unnecessary nops???"
Plz answer me as soon as possible.......Thx.
I'm using TASM. The compiler generates 3 nops after this instruction when Label2-Label1 is shorter than 7Fh bytes.
mov eax,
(ebp or even all other general purpose registers)
The instruction is 3 bytes in length and after it there are 3 additional nops (total 6 bytes)
And it DOES NOT generate any nops after that instruction when the difference between Label2 and Label1 is longer than 7Fh bytes.
When I use
mov eax,
(with XX < 7F)
the compiler DOES NOT generate nops, too.
My question here is "how to remove these unnecessary nops???"
Plz answer me as soon as possible.......Thx.
NOPs may be generated in single-pass mode. enable multi-pass compilation (set maximum number of passes to some high value, like 15).
thanx. problem solved... ;)