dect
/
asl
Archived
13
0
Fork 0
ASL assembler with DECT support
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Patrick McHardy f08964f3cd codesc14xxx: add support for 1445x and 1448x families
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-03-19 01:33:09 +01:00
Makefile.def-samples Import ASL 2011-03-03 18:44:02 +01:00
doc_DE Import ASL 2011-03-03 18:44:02 +01:00
doc_EN Import ASL 2011-03-03 18:44:02 +01:00
include Import ASL 2011-03-03 18:44:02 +01:00
tests Import ASL 2011-03-03 18:44:02 +01:00
BENCHES Import ASL 2011-03-03 18:44:02 +01:00
INSTALL Import ASL 2011-03-03 18:44:02 +01:00
Makefile Import ASL 2011-03-03 18:44:02 +01:00
Makefile.def.tmpl Import ASL 2011-03-03 18:44:02 +01:00
Makefile.dos Import ASL 2011-03-03 18:44:02 +01:00
Makefile.os2 Import ASL 2011-03-03 18:44:02 +01:00
README Import ASL 2011-03-03 18:44:02 +01:00
README.DOS Import ASL 2011-03-03 18:44:02 +01:00
README.KR Import ASL 2011-03-03 18:44:02 +01:00
README.LANGS Import ASL 2011-03-03 18:44:02 +01:00
README.OS2 Import ASL 2011-03-03 18:44:02 +01:00
TODO Import ASL 2011-03-03 18:44:02 +01:00
a2k.c Import ASL 2011-03-03 18:44:02 +01:00
addcr.c Import ASL 2011-03-03 18:44:02 +01:00
as.c Import ASL 2011-03-03 18:44:02 +01:00
as.h Import ASL 2011-03-03 18:44:02 +01:00
as.res Import ASL 2011-03-03 18:44:02 +01:00
as1750.c Import ASL 2011-03-03 18:44:02 +01:00
as1750.h Import ASL 2011-03-03 18:44:02 +01:00
asl.1 Import ASL 2011-03-03 18:44:02 +01:00
asl.def Import ASL 2011-03-03 18:44:02 +01:00
asmallg.c Import ASL 2011-03-03 18:44:02 +01:00
asmallg.h Import ASL 2011-03-03 18:44:02 +01:00
asmcode.c Import ASL 2011-03-03 18:44:02 +01:00
asmcode.h Import ASL 2011-03-03 18:44:02 +01:00
asmdebug.c Import ASL 2011-03-03 18:44:02 +01:00
asmdebug.h Import ASL 2011-03-03 18:44:02 +01:00
asmdef.c Import ASL 2011-03-03 18:44:02 +01:00
asmdef.h Import ASL 2011-03-03 18:44:02 +01:00
asmfnums.c Import ASL 2011-03-03 18:44:02 +01:00
asmfnums.h Import ASL 2011-03-03 18:44:02 +01:00
asmif.c Import ASL 2011-03-03 18:44:02 +01:00
asmif.h Import ASL 2011-03-03 18:44:02 +01:00
asminclist.c Import ASL 2011-03-03 18:44:02 +01:00
asminclist.h Import ASL 2011-03-03 18:44:02 +01:00
asmitree.c Import ASL 2011-03-03 18:44:02 +01:00
asmitree.h Import ASL 2011-03-03 18:44:02 +01:00
asmmac.c Import ASL 2011-03-03 18:44:02 +01:00
asmmac.h Import ASL 2011-03-03 18:44:02 +01:00
asmpars.c Import ASL 2011-03-03 18:44:02 +01:00
asmpars.h Import ASL 2011-03-03 18:44:02 +01:00
asmrelocs.c Import ASL 2011-03-03 18:44:02 +01:00
asmrelocs.h Import ASL 2011-03-03 18:44:02 +01:00
asmsub.c Import ASL 2011-03-03 18:44:02 +01:00
asmsub.h Import ASL 2011-03-03 18:44:02 +01:00
bincmp.c Import ASL 2011-03-03 18:44:02 +01:00
bpemu.c Import ASL 2011-03-03 18:44:02 +01:00
bpemu.h Import ASL 2011-03-03 18:44:02 +01:00
changelog Import ASL 2011-03-03 18:44:02 +01:00
chardefs.h Import ASL 2011-03-03 18:44:02 +01:00
chunks.c Import ASL 2011-03-03 18:44:02 +01:00
chunks.h Import ASL 2011-03-03 18:44:02 +01:00
cmdarg.c Import ASL 2011-03-03 18:44:02 +01:00
cmdarg.h Import ASL 2011-03-03 18:44:02 +01:00
cmdarg.res Import ASL 2011-03-03 18:44:02 +01:00
code8x30x.c Import ASL 2011-03-03 18:44:02 +01:00
code8x30x.h Import ASL 2011-03-03 18:44:02 +01:00
code16c5x.c Import ASL 2011-03-03 18:44:02 +01:00
code16c5x.h Import ASL 2011-03-03 18:44:02 +01:00
code16c8x.c Import ASL 2011-03-03 18:44:02 +01:00
code16c8x.h Import ASL 2011-03-03 18:44:02 +01:00
code17c4x.c Import ASL 2011-03-03 18:44:02 +01:00
code17c4x.h Import ASL 2011-03-03 18:44:02 +01:00
code29k.c Import ASL 2011-03-03 18:44:02 +01:00
code29k.h Import ASL 2011-03-03 18:44:02 +01:00
code47c00.c Import ASL 2011-03-03 18:44:02 +01:00
code47c00.h Import ASL 2011-03-03 18:44:02 +01:00
code48.c Import ASL 2011-03-03 18:44:02 +01:00
code48.h Import ASL 2011-03-03 18:44:02 +01:00
code51.c Import ASL 2011-03-03 18:44:02 +01:00
code51.h Import ASL 2011-03-03 18:44:02 +01:00
code53c8xx.c Import ASL 2011-03-03 18:44:02 +01:00
code53c8xx.h Import ASL 2011-03-03 18:44:02 +01:00
code56k.c Import ASL 2011-03-03 18:44:02 +01:00
code56k.h Import ASL 2011-03-03 18:44:02 +01:00
code65.c Import ASL 2011-03-03 18:44:02 +01:00
code65.h Import ASL 2011-03-03 18:44:02 +01:00
code68.c Import ASL 2011-03-03 18:44:02 +01:00
code68.h Import ASL 2011-03-03 18:44:02 +01:00
code68k.c Import ASL 2011-03-03 18:44:02 +01:00
code68k.h Import ASL 2011-03-03 18:44:02 +01:00
code75k0.c Import ASL 2011-03-03 18:44:02 +01:00
code75k0.h Import ASL 2011-03-03 18:44:02 +01:00
code78c10.c Import ASL 2011-03-03 18:44:02 +01:00
code78c10.h Import ASL 2011-03-03 18:44:02 +01:00
code78k0.c Import ASL 2011-03-03 18:44:02 +01:00
code78k0.h Import ASL 2011-03-03 18:44:02 +01:00
code85.c Import ASL 2011-03-03 18:44:02 +01:00
code85.h Import ASL 2011-03-03 18:44:02 +01:00
code86.c Import ASL 2011-03-03 18:44:02 +01:00
code86.h Import ASL 2011-03-03 18:44:02 +01:00
code87c800.c Import ASL 2011-03-03 18:44:02 +01:00
code87c800.h Import ASL 2011-03-03 18:44:02 +01:00
code90c141.c Import ASL 2011-03-03 18:44:02 +01:00
code90c141.h Import ASL 2011-03-03 18:44:02 +01:00
code96.c Import ASL 2011-03-03 18:44:02 +01:00
code96.h Import ASL 2011-03-03 18:44:02 +01:00
code96c141.c Import ASL 2011-03-03 18:44:02 +01:00
code96c141.h Import ASL 2011-03-03 18:44:02 +01:00
code97c241.c Import ASL 2011-03-03 18:44:02 +01:00
code97c241.h Import ASL 2011-03-03 18:44:02 +01:00
code166.c Import ASL 2011-03-03 18:44:02 +01:00
code166.h Import ASL 2011-03-03 18:44:02 +01:00
code370.c Import ASL 2011-03-03 18:44:02 +01:00
code370.h Import ASL 2011-03-03 18:44:02 +01:00
code601.c Import ASL 2011-03-03 18:44:02 +01:00
code601.h Import ASL 2011-03-03 18:44:02 +01:00
code960.c Import ASL 2011-03-03 18:44:02 +01:00
code960.h Import ASL 2011-03-03 18:44:02 +01:00
code3201x.c Import ASL 2011-03-03 18:44:02 +01:00
code3201x.h Import ASL 2011-03-03 18:44:02 +01:00
code3202x.c Import ASL 2011-03-03 18:44:02 +01:00
code3202x.h Import ASL 2011-03-03 18:44:02 +01:00
code3203x.c Import ASL 2011-03-03 18:44:02 +01:00
code3203x.h Import ASL 2011-03-03 18:44:02 +01:00
code3205x.c Import ASL 2011-03-03 18:44:02 +01:00
code3205x.h Import ASL 2011-03-03 18:44:02 +01:00
code3206x.c Import ASL 2011-03-03 18:44:02 +01:00
code3206x.h Import ASL 2011-03-03 18:44:02 +01:00
code4004.c Import ASL 2011-03-03 18:44:02 +01:00
code4004.h Import ASL 2011-03-03 18:44:02 +01:00
code4500.c Import ASL 2011-03-03 18:44:02 +01:00
code4500.h Import ASL 2011-03-03 18:44:02 +01:00
code6804.c Import ASL 2011-03-03 18:44:02 +01:00
code6804.h Import ASL 2011-03-03 18:44:02 +01:00
code6805.c Import ASL 2011-03-03 18:44:02 +01:00
code6805.h Import ASL 2011-03-03 18:44:02 +01:00
code6809.c Import ASL 2011-03-03 18:44:02 +01:00
code6809.h Import ASL 2011-03-03 18:44:02 +01:00
code6812.c Import ASL 2011-03-03 18:44:02 +01:00
code6812.h Import ASL 2011-03-03 18:44:02 +01:00
code6816.c Import ASL 2011-03-03 18:44:02 +01:00
code6816.h Import ASL 2011-03-03 18:44:02 +01:00
code7000.c Import ASL 2011-03-03 18:44:02 +01:00
code7000.h Import ASL 2011-03-03 18:44:02 +01:00
code7700.c Import ASL 2011-03-03 18:44:02 +01:00
code7700.h Import ASL 2011-03-03 18:44:02 +01:00
code7720.c Import ASL 2011-03-03 18:44:02 +01:00
code7720.h Import ASL 2011-03-03 18:44:02 +01:00
code8008.c Import ASL 2011-03-03 18:44:02 +01:00
code8008.h Import ASL 2011-03-03 18:44:02 +01:00
code9900.c Import ASL 2011-03-03 18:44:02 +01:00
code9900.h Import ASL 2011-03-03 18:44:02 +01:00
code77230.c Import ASL 2011-03-03 18:44:02 +01:00
code77230.h Import ASL 2011-03-03 18:44:02 +01:00
codeace.c Import ASL 2011-03-03 18:44:02 +01:00
codeace.h Import ASL 2011-03-03 18:44:02 +01:00
codeavr.c Import ASL 2011-03-03 18:44:02 +01:00
codeavr.h Import ASL 2011-03-03 18:44:02 +01:00
codecop8.c Import ASL 2011-03-03 18:44:02 +01:00
codecop8.h Import ASL 2011-03-03 18:44:02 +01:00
codeflt1750.c Import ASL 2011-03-03 18:44:02 +01:00
codeflt1750.h Import ASL 2011-03-03 18:44:02 +01:00
codefmc8.c Import ASL 2011-03-03 18:44:02 +01:00
codefmc8.h Import ASL 2011-03-03 18:44:02 +01:00
codeh8_3.c Import ASL 2011-03-03 18:44:02 +01:00
codeh8_3.h Import ASL 2011-03-03 18:44:02 +01:00
codeh8_5.c Import ASL 2011-03-03 18:44:02 +01:00
codeh8_5.h Import ASL 2011-03-03 18:44:02 +01:00
codem16.c Import ASL 2011-03-03 18:44:02 +01:00
codem16.h Import ASL 2011-03-03 18:44:02 +01:00
codem16c.c Import ASL 2011-03-03 18:44:02 +01:00
codem16c.h Import ASL 2011-03-03 18:44:02 +01:00
codemcore.c Import ASL 2011-03-03 18:44:02 +01:00
codemcore.h Import ASL 2011-03-03 18:44:02 +01:00
codemsp.c Import ASL 2011-03-03 18:44:02 +01:00
codemsp.h Import ASL 2011-03-03 18:44:02 +01:00
codepseudo.c Import ASL 2011-03-03 18:44:02 +01:00
codepseudo.h Import ASL 2011-03-03 18:44:02 +01:00
codesc14xxx.c codesc14xxx: add support for 1445x and 1448x families 2011-03-19 01:33:09 +01:00
codesc14xxx.h Import ASL 2011-03-03 18:44:02 +01:00
codescmp.c Import ASL 2011-03-03 18:44:02 +01:00
codescmp.h Import ASL 2011-03-03 18:44:02 +01:00
codest6.c Import ASL 2011-03-03 18:44:02 +01:00
codest6.h Import ASL 2011-03-03 18:44:02 +01:00
codest7.c Import ASL 2011-03-03 18:44:02 +01:00
codest7.h Import ASL 2011-03-03 18:44:02 +01:00
codest9.c Import ASL 2011-03-03 18:44:02 +01:00
codest9.h Import ASL 2011-03-03 18:44:02 +01:00
codetms7.c Import ASL 2011-03-03 18:44:02 +01:00
codetms7.h Import ASL 2011-03-03 18:44:02 +01:00
codevars.c Import ASL 2011-03-03 18:44:02 +01:00
codevars.h Import ASL 2011-03-03 18:44:02 +01:00
codexa.c Import ASL 2011-03-03 18:44:02 +01:00
codexa.h Import ASL 2011-03-03 18:44:02 +01:00
codez8.c Import ASL 2011-03-03 18:44:02 +01:00
codez8.h Import ASL 2011-03-03 18:44:02 +01:00
codez80.c Import ASL 2011-03-03 18:44:02 +01:00
codez80.h Import ASL 2011-03-03 18:44:02 +01:00
datatypes.h Import ASL 2011-03-03 18:44:02 +01:00
endian.c Import ASL 2011-03-03 18:44:02 +01:00
endian.h Import ASL 2011-03-03 18:44:02 +01:00
equs.h Import ASL 2011-03-03 18:44:02 +01:00
fileformat.h Import ASL 2011-03-03 18:44:02 +01:00
findhyphen.c Import ASL 2011-03-03 18:44:02 +01:00
findhyphen.h Import ASL 2011-03-03 18:44:02 +01:00
grhyph.c Import ASL 2011-03-03 18:44:02 +01:00
grhyph.h Import ASL 2011-03-03 18:44:02 +01:00
header.res Import ASL 2011-03-03 18:44:02 +01:00
headids.c Import ASL 2011-03-03 18:44:02 +01:00
headids.h Import ASL 2011-03-03 18:44:02 +01:00
hex.c Import ASL 2011-03-03 18:44:02 +01:00
hex.h Import ASL 2011-03-03 18:44:02 +01:00
install.bat Import ASL 2011-03-03 18:44:02 +01:00
install.cmd Import ASL 2011-03-03 18:44:02 +01:00
install.sh Import ASL 2011-03-03 18:44:02 +01:00
ioerrs.c Import ASL 2011-03-03 18:44:02 +01:00
ioerrs.h Import ASL 2011-03-03 18:44:02 +01:00
ioerrs.res Import ASL 2011-03-03 18:44:02 +01:00
makedefs.files Import ASL 2011-03-03 18:44:02 +01:00
makedefs.src Import ASL 2011-03-03 18:44:02 +01:00
makedefs.str Import ASL 2011-03-03 18:44:02 +01:00
marks.asm Import ASL 2011-03-03 18:44:02 +01:00
nlmessages.c Import ASL 2011-03-03 18:44:02 +01:00
nlmessages.h Import ASL 2011-03-03 18:44:02 +01:00
nls.c Import ASL 2011-03-03 18:44:02 +01:00
nls.h Import ASL 2011-03-03 18:44:02 +01:00
objdefs.dos Import ASL 2011-03-03 18:44:02 +01:00
objdefs.unix Import ASL 2011-03-03 18:44:02 +01:00
p2bin.1 Import ASL 2011-03-03 18:44:02 +01:00
p2bin.c Import ASL 2011-03-03 18:44:02 +01:00
p2bin.res Import ASL 2011-03-03 18:44:02 +01:00
p2hex.1 Import ASL 2011-03-03 18:44:02 +01:00
p2hex.c Import ASL 2011-03-03 18:44:02 +01:00
p2hex.res Import ASL 2011-03-03 18:44:02 +01:00
pascstyle.h Import ASL 2011-03-03 18:44:02 +01:00
pbind.1 Import ASL 2011-03-03 18:44:02 +01:00
pbind.c Import ASL 2011-03-03 18:44:02 +01:00
pbind.res Import ASL 2011-03-03 18:44:02 +01:00
plist.1 Import ASL 2011-03-03 18:44:02 +01:00
plist.c Import ASL 2011-03-03 18:44:02 +01:00
plist.res Import ASL 2011-03-03 18:44:02 +01:00
reltypes.c Import ASL 2011-03-03 18:44:02 +01:00
rescomp.c Import ASL 2011-03-03 18:44:02 +01:00
specchars.h Import ASL 2011-03-03 18:44:02 +01:00
stdhandl.c Import ASL 2011-03-03 18:44:02 +01:00
stdhandl.h Import ASL 2011-03-03 18:44:02 +01:00
stdinc.h Import ASL 2011-03-03 18:44:02 +01:00
stringlists.c Import ASL 2011-03-03 18:44:02 +01:00
stringlists.h Import ASL 2011-03-03 18:44:02 +01:00
strutil.c Import ASL 2011-03-03 18:44:02 +01:00
strutil.h Import ASL 2011-03-03 18:44:02 +01:00
sysdefs.h Import ASL 2011-03-03 18:44:02 +01:00
tex2doc.c Import ASL 2011-03-03 18:44:02 +01:00
tex2html.c Import ASL 2011-03-03 18:44:02 +01:00
tools.res Import ASL 2011-03-03 18:44:02 +01:00
tools2.res Import ASL 2011-03-03 18:44:02 +01:00
toolutils.c Import ASL 2011-03-03 18:44:02 +01:00
toolutils.h Import ASL 2011-03-03 18:44:02 +01:00
tsc.h Import ASL 2011-03-03 18:44:02 +01:00
umlaut.c Import ASL 2011-03-03 18:44:02 +01:00
unumlaut.c Import ASL 2011-03-03 18:44:02 +01:00
ushyph.c Import ASL 2011-03-03 18:44:02 +01:00
ushyph.h Import ASL 2011-03-03 18:44:02 +01:00
version.c Import ASL 2011-03-03 18:44:02 +01:00
version.h Import ASL 2011-03-03 18:44:02 +01:00

README

Hello, AS-Users,

OK, here it is, the C-Version of AS that is theoretically compilable
on any system that has an ANSI-C-compiler!  After a couple of
optimizations, the performance degradations due to the way C handles
strings have been compensated, so the C version should effectively run 
a bit faster than the original Pascal version.

LICENSING

Those who have already used the original DOS/Pascal version of AS
will know that AS is completely free: you may use and modify AS for
whatever purpose you like (regardless whether it is commercial or
not), given that you do not remove my copyright from the sources and
that programs that build upon the AS sources are given out under the
same license terms.  Of course, if you add something significant,
you may also add your own name to the copyright list!

To make things a bit more interesting (for me), I have added a detail
to the license terms of the C version: it is wineware!  If you want
and have time, you may send me a bottle of your favourite wine...


PLATFORMS

The C version of AS was designed primarily to work with a Unix-like system
with an ANSI-C compilant compiler.  Specifically, I have tested this version
of AS on the following machines:

- Digital Unix 3.2/4.0 with DEC-C
- Digital Ultrix for Mips 4.3/4.5 with gcc 2.7.2
- Digital Ultrix for VAX 4.1/4.5 with gcc 2.7.2
- Linux/Alpha with gcc 2.7.2
- Linux/Intel with gcc 2.7.2
- HP9000/7xx HP-UX 9.0/10.0 with HP-C
- MS-DOS with Borland-C 3.1 resp. 4.5
- OS/2 with emx 0.9
- Munix V.3 with cc
- NetBSD/Sun3 with gcc 2.7.2
- NetBSD/pmax with gcc 2.7.2
- SGI Irix 5.3/6.2 with SGI-C
- SunOS 4.1.3/Sparc with gcc 2.6.3 or cc
- Solaris 2.5/Sparc with Sun-C 3.0.1
- IBM RS/6000 AIX 4.1 with IBM XLC 

DIFFERENCES / THINGS TO DO

The portable C version of AS has the following, known differences to
the original BP version:

- Floating point values are internally only stored as IEEE double 
  precision values, not in the 80-bit format Intel NPUs use. 
  Therefore, floating point ranges and accuracy are not as good as in
  the BP version.  Currently, there seems to be no portable,
  standardized 128-bit-format for FP numbers.  Every vendor (IBM,
  SUN, CRAY, SGI...) uses his own format, so supporting them all
  looks like a lot of work...

+ On most systems, integer arithmetic is done with 64-bit-numbers. 
  This should hurt only programs that explicitly exploit overflow
  and sign effects on 32-bit-versions of AS.

- String variables must not contain NUL characters.  This is due to 
  the fact that C uses the NUL character as an end-of-string marker,
  and is probably the hardest thing to resolve :-(

~ most UNIX systems name their own assembler already 'as', so I had
  to modify the name to 'asl'.  The additional letter is to the honor
  of a person that did quite a lot to spread the UNIX philosophy ;-)
  I also had to rename 'bind' to 'pbind', but I guess that this won't
  matter too much as it is a rarely used tool.

- the C version was designed to have exactly the same command line
  interface as the original BP version; however, UNIX shells
  interprete some special characters like the dollar sign for hex
  values in their own way, so you might have to work with escape (\)
  and quote characters.

+ the USEXMS resp. USEEMS and ASXSWAP environment variables do not
  exist for Unix platforms (thankfully).

- the AS2MSG filter does not exist (wouldn't make sense because there
  is no Borland Pascal for Unix.)

+ This version now contains dynamic switching of program messages, i.e.
  you do not have to compile AS any more for a specific language.  Instead,
  AS will test the LC_MESSAGES, LC_ALL, or LANG environment variables
  on Unix resp. the COUNTRY settings on OS/2 and MSDOS to dynamically
  load the correct set of messages at runtime.


INSTALLATION

See the file 'INSTALL'

FEEDBACK

In case of problems or questions, send them to alfred@ccac.rwth-aachen.de .