summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1999-06-11 14:11:38 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:41:25 +0200
commit3d4957c86ff239b24b43933924ec72a3fd288518 (patch)
treeda8225a4d7bb2d9123e10d558cdc3eebae6254c8 /man
parente62b35169cdcd13632ae353b1e5ffde7dec44201 (diff)
downloaddev86-3d4957c86ff239b24b43933924ec72a3fd288518.tar.gz
Import Dev86src-0.14.8.tar.gzv0.14.8
Diffstat (limited to 'man')
-rw-r--r--man/as86.165
-rw-r--r--man/bcc.111
-rw-r--r--man/index.btbin8192 -> 0 bytes
-rw-r--r--man/ld86.112
4 files changed, 51 insertions, 37 deletions
diff --git a/man/as86.1 b/man/as86.1
index 02d9652..f03ce27 100644
--- a/man/as86.1
+++ b/man/as86.1
@@ -1,5 +1,5 @@
-.TH as86 1 "Oct, 1997"
-.BY Bruce Evans
+.TH as86 1 "Mar, 1999"
+.BY Bruce Evans, Robert de Bath
.nh
.SH NAME
as86 \- Assembler for 8086..80386 processors
@@ -357,36 +357,45 @@ The 'near and 'far' do not allow multi-segment programming, all 'far'
operations are specified explicitly through the use of the instructions:
jmpi, jmpf, callf, retf, etc. The 'Near' operator can be used to force
the use of 80386 16bit conditional branches. The 'Dword' and 'word'
-operators can control the size of operands on far jumps and calls.
-
+operators can control the size of operands on far jumps and calls.
.TP
General instructions.
These are in general the same as the instructions found in any 8086 assembler,
the main exceptions being a few 'Bcc' (BCC, BNE, BGE, etc) instructions
-which are shorthands for a short branch plus a long jump.
-.sp
-AAA AAD AAM AAS ADC ADD AND ARPL BCC BCS BEQ BGE BGT BHI BHIS BLE BLO
-BLOS BLT BMI BNE BOUND BPC BPL BPS BR BVC BVS CALL CALLF CALLI CBW CLC
-CLD CLI CMC CMP CMPS CMPSB CMPSD CMPSW CMPW CSEG CWD CWDE CDQ DAA DAS
-DSEG DEC DIV ENTER ESEG FSEG GSEG HLT IDIV IMUL IN INC INS INSB INSD
-INSW INT INTO INW IRET IRETD J JA JAE JB JBE JC JCXE JCXZ JECXE JECXZ JE
-JG JGE JL JLE JMP JMPF JMPI JNA JNAE JNB JNBE JNC JNE JNG JNGE JNL JNLE
-JNO JNP JNS JNZ JO JP JPE JPO JS JZ LAHF LDS LEA LEAVE LES LOCK LODB
-LODS LODSB LODSD LODSW LODW LOOP LOOPE LOOPNE LOOPNZ LOOPZ MOV MOVS
-MOVSB MOVSD MOVSW MOVW MUL NEG NOP NOT OR OUT OUTS OUTSB OUTSD OUTSW
-OUTW POP POPA POPAD POPF POPFD PUSH PUSHA PUSHAD PUSHF PUSHFD RCL RCR
-ROL ROR REP REPE REPNE REPNZ REPZ RET RETF RETI SAHF SAL SAR SBB SCAB
-SCAS SCASB SCASD SCASW SCAW SEG SHL SHR SSEG STC STD STI STOB STOS STOSB
-STOSD STOSW STOW SUB TEST WAIT XCHG XLAT XLATB XOR
-.TP
-And more...
-BSF BSR BSWAP BT BTC BTR BTS CLTS CMPXCHG INVD INVLPG LAR LFS LGDT LGS
-LIDT LLDT LMSW LSL LSS LTR MOVSX MOVZX SETA SETAE SETB SETBE SETC SETE
-SETG SETGE SETL SETLE SETNA SETNAE SETNB SETNBE SETNC SETNE SETNG SETNGE
-SETNL SETNLE SETNO SETNP SETNS SETNZ SETO SETP SETPE SETPO SETS SETZ
-SGDT SIDT SHLD SHRD SLDT SMSW STR VERR VERW WBINVD XADD ADCB ADDB ANDB
-CMPB DECB DIVB IDIVB IMULB INB INCB MOVB MULB NEGB NOTB ORB OUTB RCLB
-RCRB ROLB RORB SALB SARB SHLB SHRB SBBB SUBB TESTB XCHGB XORB
+which are shorthands for a short branch plus a long jump and 'BR' which
+is the longest unconditional jump (16 or 32 bit).
+.TP
+Long branches
+BCC BCS BEQ BGE BGT BHI BHIS BLE BLO BLOS BLT BMI BNE BPC BPL BPS BVC BVS
+BR
+.TP
+Intersegment
+CALLI CALLF JMPI JMPF
+.TP
+Segment modifier instructions
+ESEG FSEG GSEG SSEG
+.TP
+Byte operation instructions
+ADCB ADDB ANDB CMPB DECB DIVB IDIVB IMULB INB INCB MOVB MULB NEGB NOTB ORB
+OUTB RCLB RCRB ROLB RORB SALB SARB SHLB SHRB SBBB SUBB TESTB XCHGB XORB
+.TP
+Standard instructions
+AAA AAD AAM AAS ADC ADD AND ARPL BOUND BSF BSR BSWAP BT BTC BTR BTS CALL
+CBW CDQ CLC CLD CLI CLTS CMC CMP CMPS CMPSB CMPSD CMPSW CMPW CMPXCHG
+CSEG CWD CWDE DAA DAS DEC DIV DSEG ENTER HLT IDIV IMUL IN INC INS INSB
+INSD INSW INT INTO INVD INVLPG INW IRET IRETD J JA JAE JB JBE JC JCXE
+JCXZ JE JECXE JECXZ JG JGE JL JLE JMP JNA JNAE JNB JNBE JNC JNE JNG JNGE
+JNL JNLE JNO JNP JNS JNZ JO JP JPE JPO JS JZ LAHF LAR LDS LEA LEAVE LES
+LFS LGDT LGS LIDT LLDT LMSW LOCK LODB LODS LODSB LODSD LODSW LODW LOOP
+LOOPE LOOPNE LOOPNZ LOOPZ LSL LSS LTR MOV MOVS MOVSB MOVSD MOVSW MOVSX
+MOVW MOVZX MUL NEG NOP NOT OR OUT OUTS OUTSB OUTSD OUTSW OUTW POP POPA
+POPAD POPF POPFD PUSH PUSHA PUSHAD PUSHF PUSHFD RCL RCR REP REPE REPNE
+REPNZ REPZ RET RETF RETI ROL ROR SAHF SAL SAR SBB SCAB SCAS SCASB SCASD
+SCASW SCAW SEG SETA SETAE SETB SETBE SETC SETE SETG SETGE SETL SETLE
+SETNA SETNAE SETNB SETNBE SETNC SETNE SETNG SETNGE SETNL SETNLE SETNO
+SETNP SETNS SETNZ SETO SETP SETPE SETPO SETS SETZ SGDT SHL SHLD SHR SHRD
+SIDT SLDT SMSW STC STD STI STOB STOS STOSB STOSD STOSW STOW STR SUB TEST
+VERR VERW WAIT WBINVD XADD XCHG XLAT XLATB XOR
.TP
Floating point
F2XM1 FABS FADD FADDP FBLD FBSTP FCHS FCLEX FCOM FCOMP FCOMPP FCOS
diff --git a/man/bcc.1 b/man/bcc.1
index 5e7d85f..1050cc9 100644
--- a/man/bcc.1
+++ b/man/bcc.1
@@ -36,7 +36,7 @@ from the source file.
.TP
.B -ansi
Pass the C source through
-.B unprotoize(1)
+.B unprotoize
after preprocessing and before code generation. This will allow
.I some
ansi C to be compiled but it is definitly
@@ -112,6 +112,9 @@ to produce standalone Linux-86 executables
.TP
.B -Ml
switches to i386-Linux code generator and library.
+This configuration accepts the
+.B -z
+flag to generate QMAGIC a.out files instead of the normal OMAGIC.
.TP
.B -N
makes the linker produce a native a.out file (Linux OMAGIC) if combined
@@ -340,12 +343,8 @@ and
are in /usr/bin.
.SH SEE ALSO
-unprotoize(1), as86(1), ld86(1), elksemu(1)
+as86(1), ld86(1), elksemu(1)
.SH BUGS
-The compiler cannot generate 8086 floating point code, if it's made to
-try it produces a nasty mixture of 8086 and 80386 code that really
-upsets the assembler.
-
The bcc.c compiler driver source is very untidy.
The linker, ld86, produces a broken a.out object file if given one input and
diff --git a/man/index.bt b/man/index.bt
deleted file mode 100644
index e295941..0000000
--- a/man/index.bt
+++ /dev/null
Binary files differ
diff --git a/man/ld86.1 b/man/ld86.1
index 77953a8..8ca5362 100644
--- a/man/ld86.1
+++ b/man/ld86.1
@@ -5,7 +5,7 @@
ld86 \- Linker for as86(1)
.SH SYNOPSIS
.BR ld86
-.RB [ -03MNdimrstz [-]]
+.RB [ -03MNdimrstyz [-]]
.RB [ -llib_extension ]
.RB [ -o\ outfile ]
.RB [ -Ccrtfile ]
@@ -59,7 +59,9 @@ print symbols linked on stdout
.TP
.B -N
Create a native Linux OMAGIC output file. If the contents are i386 code the
-binary can be either linked by GCC or executed by linux.
+binary can be either linked by GCC or executed by linux. If the
+.B -z
+option is also included the linker can generate a QMAGIC executable.
.TP
.B -Ox
add library libdir-from-search/x to list of files linked
@@ -90,8 +92,12 @@ if possible.
.B -t
trace modules being looked at on stdout
.TP
+.B -y
+Alter the symbol tables to add label 'extensions' so that labels with
+more than 8 characters can be stored in elks executables.
+.TP
.B -z
-produce "unmapped zero page" executables
+produce "unmapped zero page" or "QMAGIC" executables
.P
All the options not taking an argument may be turned off by following the
option letter by a '-', as for cc1.