From 92aa187f3ab5228caa95494e30a7efc06288802e Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Tue, 20 Apr 2010 15:06:44 +0400 Subject: smartalign: Introduce nojmp mode This allows to force nasm to generate multibyte NOPs without jmp injected. Signed-off-by: Cyrill Gorcunov --- doc/nasmdoc.src | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index d8c189bb..3389b12f 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -4073,8 +4073,9 @@ sequence. The specific instructions generated can be controlled with the new \i\c{ALIGNMODE} macro. This macro takes two parameters: one mode, -and an optional jump threshold override. The modes are as -follows: +and an optional jump threshold override. If (for any reason) you need +to turn off the jump completely just set jump threshold value to -1. +The following modes are possible: \b \c{generic}: Works on all x86 CPUs and should have reasonable performance. The default jump threshold is 8. This is the -- cgit v1.2.1