flat assembler
Message board for the users of flat assembler.
Index
> Main > salc |
Author |
|
Kicer 22 Jun 2007, 10:47
Hi
i have a quesiton about salc instruction. i saw it in fasm's docs but i couldn't find it in intel's documentations. am i blind ? |
|||
22 Jun 2007, 10:47 |
|
f0dder 22 Jun 2007, 11:36
It's an undocumented instruction
|
|||
22 Jun 2007, 11:36 |
|
MazeGen 22 Jun 2007, 11:41
BTW, Intel claims it is undefined and reserved, not that it is kind of NOP.
|
|||
22 Jun 2007, 11:41 |
|
f0dder 22 Jun 2007, 13:26
You can use the documented SETcc instruction instead - for instance, SETC AL, which is roughly equivalent to SALC (1 instead of 0xFF though).
|
|||
22 Jun 2007, 13:26 |
|
LocoDelAssembly 22 Jun 2007, 13:34
If you really need an equivalent then use sbb al, al instead (if changing the flags isn't a problem).
|
|||
22 Jun 2007, 13:34 |
|
kohlrak 23 Jun 2007, 02:53
I personally don't see it overly useful (unless you want to stuff FF in AL upon a certain tested condition), but i don't see why companies would put instructions in their processors if they don't plan on supporting it... Unless they're reserving the name for something else... But i don't see the point in reserving this name or it's operation.
|
|||
23 Jun 2007, 02:53 |
|
rugxulo 25 Jun 2007, 00:44
TetrOS uses it.
|
|||
25 Jun 2007, 00:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.