documented .use16 and .use32
This commit is contained in:
parent
6e0c2ad593
commit
34eff754f5
1 changed files with 7 additions and 0 deletions
|
@ -63,6 +63,7 @@ expr (reg1) (reg2 * scale)
|
||||||
contents of \fIreg2\fP multiplied by \fIscale\fP,
|
contents of \fIreg2\fP multiplied by \fIscale\fP,
|
||||||
is the address of the operand.
|
is the address of the operand.
|
||||||
\fIscale\fP can be either 1, 2, 4, or 8.
|
\fIscale\fP can be either 1, 2, 4, or 8.
|
||||||
|
This mode is only allowed for 32-bit addressing.
|
||||||
|
|
||||||
The next addressing mode is only allowed with the instructions
|
The next addressing mode is only allowed with the instructions
|
||||||
"callf" or "jmpf".
|
"callf" or "jmpf".
|
||||||
|
@ -102,6 +103,12 @@ for the next instruction, and also generate code to set the processor
|
||||||
temporarily in 16-bit operand mode.
|
temporarily in 16-bit operand mode.
|
||||||
.IP ""
|
.IP ""
|
||||||
Prefixes only affect the next instruction.
|
Prefixes only affect the next instruction.
|
||||||
|
.IP ""
|
||||||
|
There are also the .use32 and .use16 assembler directives, which do not
|
||||||
|
generate code, but change the default for operand and address sizes.
|
||||||
|
Obviously, .use16 gives 16-bit modes, .use32 gives 32-bit modes.
|
||||||
|
This is useful for assembling real mode 80386 code, or pure 16-bit
|
||||||
|
modules (that do not have the D-bit set in the segment descriptor).
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
uni_ass(6),
|
uni_ass(6),
|
||||||
ack(1),
|
ack(1),
|
||||||
|
|
Loading…
Reference in a new issue