diff options
author | Robert de Bath <rdebath@poboxes.com> | 1997-02-25 20:42:19 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:38:07 +0200 |
commit | 4c36e9a0c125ccfff37aa440dab2cf58c4152fff (patch) | |
tree | a5d9c84ba2661029ddb2223dacd50529a361c3d5 /man | |
parent | f8de35da65c5d93bb733073cf40da154bc1c0748 (diff) | |
parent | 9696d7b0e1f3a1b0f5fd4a0428eb75afe8ad4ed6 (diff) | |
download | dev86-4c36e9a0c125ccfff37aa440dab2cf58c4152fff.tar.gz |
Import Dev86src-0.0.11.tar.gzv0.0.11
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile | 6 | ||||
-rw-r--r-- | man/as86.1 | 34 | ||||
-rw-r--r-- | man/bcc.1 | 26 | ||||
-rw-r--r-- | man/elksemu.1 | 2 | ||||
-rw-r--r-- | man/ld86.1 | 6 |
5 files changed, 61 insertions, 13 deletions
diff --git a/man/Makefile b/man/Makefile index 38faaaa..b4557a0 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,9 +1,5 @@ -ifneq ($(TOPDIR),) -include $(TOPDIR)/Make.defs -else -MANDIR=/usr/man -endif +MANDIR=/usr/man MAN1PG=as86.1 bcc.1 elks.1 elksemu.1 ld86.1 MAN1DIR=$(MANDIR)/man1 @@ -1,4 +1,4 @@ -.TH as86 1 "Oct, 1996" +.TH as86 1 "Jan, 1997" .BY Bruce Evans .nh .SH NAME @@ -124,6 +124,35 @@ take undefined symbols as imported-with-unspecified segment don't print warnings .P .SH AS86 SOURCE +Special characters +.TP +.B * +Address of the start of the current line. +.TP +.B ; ! +Either of these marks the start of a comment. In addition any 'unexpected' +character at the start of a line is assumed to be a comment. +.TP +.B # +Prefix for immediate operands. +.TP +.B $ +Prefix for hexadecimal numbers, the 'C' syntax, eg\ 0x1234, is also accepted. +.TP +.B % +Prefix for binary numbers. +.TP +.B [ ] +Specifies an indirect operand. +.br +Offsets from registers are represented by adding the register to the +expression inside the +.B [ ] +brackets. eg: +.br + MOV AX,[BX+Table] +.br +.P Conditionals .TP .B IF, ELSE, ELSEIF, ENDIF @@ -142,7 +171,8 @@ Set current segment. These can be preceded by the keyword .B .SECT .TP .B LOC -Set numeric segment 0=TEXT, 3=DATA,ROM,BSS, 15=MAX +Set numeric segment 0=TEXT, 3=DATA,ROM,BSS, 15=MAX. Only segment zero is +in the text segment, all others are data. .P Label type definition .TP @@ -1,4 +1,4 @@ -.TH bcc 1 "Oct, 1996" +.TH bcc 1 "Jan, 1997" .BY Bruce Evans .nh .SH NAME @@ -86,9 +86,12 @@ don't add default library to search list .TP .B -Md alters the arguments for all passes to produce MSDOS executable COM files. +These are small model executables, use +.B -i- +to get tiny model. .TP .B -Mf -sets the code generator to pass the +sets bcc to pass the .B -c and .B -f @@ -96,16 +99,31 @@ arguments to the code generator for smaller faster code. Note this code is not compatible with the standard calling conventions so a different version of the C library is linked too. .TP +.B -Mc +sets bcc to pass the +.B -c +argument to the code generator for smaller faster code. Note the standard +libc is normally transparent to this, but there are exceptions. +.TP .B -Ms alters the arguments for all passes and selects C-library to produce standalone Linux-86 executables .TP +.B -Ml +switches to i386-Linux code generator and library. +.TP .B -N makes the linker produce a native a.out file (Linux OMAGIC) if combined with -3 the executable will run under Linux-i386. .TP .B -O -optimize (does nothing) +optimize, call +.BR copt ( 1 ) +to optimize 8086 code. Specifiers to choose which rules +.B copt +should use can be appended to the +.B -O +and the option can be repeated. .TP .B -P produce preprocessor output with no line numbers to standard output. @@ -161,7 +179,7 @@ being searched. allow the assembler to generate warnings, useful for finding 80186+ instructions. .P -Other options are passed to the linker, in particular -i-, -lx, -M, -m, -s. +Other options are passed to the linker, in particular -i-, -lx, -M, -m, -s, -H. The -i option is always passed to the linker but can be cancelled using -i-. .SH CODE GENERATOR OPTIONS diff --git a/man/elksemu.1 b/man/elksemu.1 index ad6eecc..5f00a44 100644 --- a/man/elksemu.1 +++ b/man/elksemu.1 @@ -1,4 +1,4 @@ -.TH elksemu 1 "Oct, 1996" +.TH elksemu 1 "Jan, 1997" .BY Me! .nh .SH NAME @@ -1,4 +1,4 @@ -.TH ld86 1 "Oct, 1996" +.TH ld86 1 "Jan, 1997" .BY Bruce Evans .nh .SH NAME @@ -12,6 +12,7 @@ ld86 \- Linker for as86(1) .RB [ -Llibdir ] .RB [ -Olibfile ] .RB [ -Ttextaddr ] +.RB [ -Hheapsize ] .RB [ -Ddataaddr ] .B infile... @@ -47,6 +48,9 @@ add file libdir-from-search/crtx.o to list of files linked .B -D data base address follows (in format suitable for strtoul) .TP +.B -H +the top of heap (initial stack) address (in format suitable for strtoul) +.TP .B -Lx add dir name x to the head of the list of library dirs searched .TP |