dect
/
asl
Archived
1
0
Fork 0
ASL assembler with DECT support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
Patrick McHardy f08964f3cd codesc14xxx: add support for 1445x and 1448x families 12 years ago
Makefile.def-samples Import ASL 12 years ago
doc_DE Import ASL 12 years ago
doc_EN Import ASL 12 years ago
include Import ASL 12 years ago
tests Import ASL 12 years ago
BENCHES Import ASL 12 years ago
INSTALL Import ASL 12 years ago
Makefile Import ASL 12 years ago
Makefile.def.tmpl Import ASL 12 years ago
Makefile.dos Import ASL 12 years ago
Makefile.os2 Import ASL 12 years ago
README Import ASL 12 years ago
README.DOS Import ASL 12 years ago
README.KR Import ASL 12 years ago
README.LANGS Import ASL 12 years ago
README.OS2 Import ASL 12 years ago
TODO Import ASL 12 years ago
a2k.c Import ASL 12 years ago
addcr.c Import ASL 12 years ago
as.c Import ASL 12 years ago
as.h Import ASL 12 years ago
as.res Import ASL 12 years ago
as1750.c Import ASL 12 years ago
as1750.h Import ASL 12 years ago
asl.1 Import ASL 12 years ago
asl.def Import ASL 12 years ago
asmallg.c Import ASL 12 years ago
asmallg.h Import ASL 12 years ago
asmcode.c Import ASL 12 years ago
asmcode.h Import ASL 12 years ago
asmdebug.c Import ASL 12 years ago
asmdebug.h Import ASL 12 years ago
asmdef.c Import ASL 12 years ago
asmdef.h Import ASL 12 years ago
asmfnums.c Import ASL 12 years ago
asmfnums.h Import ASL 12 years ago
asmif.c Import ASL 12 years ago
asmif.h Import ASL 12 years ago
asminclist.c Import ASL 12 years ago
asminclist.h Import ASL 12 years ago
asmitree.c Import ASL 12 years ago
asmitree.h Import ASL 12 years ago
asmmac.c Import ASL 12 years ago
asmmac.h Import ASL 12 years ago
asmpars.c Import ASL 12 years ago
asmpars.h Import ASL 12 years ago
asmrelocs.c Import ASL 12 years ago
asmrelocs.h Import ASL 12 years ago
asmsub.c Import ASL 12 years ago
asmsub.h Import ASL 12 years ago
bincmp.c Import ASL 12 years ago
bpemu.c Import ASL 12 years ago
bpemu.h Import ASL 12 years ago
changelog Import ASL 12 years ago
chardefs.h Import ASL 12 years ago
chunks.c Import ASL 12 years ago
chunks.h Import ASL 12 years ago
cmdarg.c Import ASL 12 years ago
cmdarg.h Import ASL 12 years ago
cmdarg.res Import ASL 12 years ago
code8x30x.c Import ASL 12 years ago
code8x30x.h Import ASL 12 years ago
code16c5x.c Import ASL 12 years ago
code16c5x.h Import ASL 12 years ago
code16c8x.c Import ASL 12 years ago
code16c8x.h Import ASL 12 years ago
code17c4x.c Import ASL 12 years ago
code17c4x.h Import ASL 12 years ago
code29k.c Import ASL 12 years ago
code29k.h Import ASL 12 years ago
code47c00.c Import ASL 12 years ago
code47c00.h Import ASL 12 years ago
code48.c Import ASL 12 years ago
code48.h Import ASL 12 years ago
code51.c Import ASL 12 years ago
code51.h Import ASL 12 years ago
code53c8xx.c Import ASL 12 years ago
code53c8xx.h Import ASL 12 years ago
code56k.c Import ASL 12 years ago
code56k.h Import ASL 12 years ago
code65.c Import ASL 12 years ago
code65.h Import ASL 12 years ago
code68.c Import ASL 12 years ago
code68.h Import ASL 12 years ago
code68k.c Import ASL 12 years ago
code68k.h Import ASL 12 years ago
code75k0.c Import ASL 12 years ago
code75k0.h Import ASL 12 years ago
code78c10.c Import ASL 12 years ago
code78c10.h Import ASL 12 years ago
code78k0.c Import ASL 12 years ago
code78k0.h Import ASL 12 years ago
code85.c Import ASL 12 years ago
code85.h Import ASL 12 years ago
code86.c Import ASL 12 years ago
code86.h Import ASL 12 years ago
code87c800.c Import ASL 12 years ago
code87c800.h Import ASL 12 years ago
code90c141.c Import ASL 12 years ago
code90c141.h Import ASL 12 years ago
code96.c Import ASL 12 years ago
code96.h Import ASL 12 years ago
code96c141.c Import ASL 12 years ago
code96c141.h Import ASL 12 years ago
code97c241.c Import ASL 12 years ago
code97c241.h Import ASL 12 years ago
code166.c Import ASL 12 years ago
code166.h Import ASL 12 years ago
code370.c Import ASL 12 years ago
code370.h Import ASL 12 years ago
code601.c Import ASL 12 years ago
code601.h Import ASL 12 years ago
code960.c Import ASL 12 years ago
code960.h Import ASL 12 years ago
code3201x.c Import ASL 12 years ago
code3201x.h Import ASL 12 years ago
code3202x.c Import ASL 12 years ago
code3202x.h Import ASL 12 years ago
code3203x.c Import ASL 12 years ago
code3203x.h Import ASL 12 years ago
code3205x.c Import ASL 12 years ago
code3205x.h Import ASL 12 years ago
code3206x.c Import ASL 12 years ago
code3206x.h Import ASL 12 years ago
code4004.c Import ASL 12 years ago
code4004.h Import ASL 12 years ago
code4500.c Import ASL 12 years ago
code4500.h Import ASL 12 years ago
code6804.c Import ASL 12 years ago
code6804.h Import ASL 12 years ago
code6805.c Import ASL 12 years ago
code6805.h Import ASL 12 years ago
code6809.c Import ASL 12 years ago
code6809.h Import ASL 12 years ago
code6812.c Import ASL 12 years ago
code6812.h Import ASL 12 years ago
code6816.c Import ASL 12 years ago
code6816.h Import ASL 12 years ago
code7000.c Import ASL 12 years ago
code7000.h Import ASL 12 years ago
code7700.c Import ASL 12 years ago
code7700.h Import ASL 12 years ago
code7720.c Import ASL 12 years ago
code7720.h Import ASL 12 years ago
code8008.c Import ASL 12 years ago
code8008.h Import ASL 12 years ago
code9900.c Import ASL 12 years ago
code9900.h Import ASL 12 years ago
code77230.c Import ASL 12 years ago
code77230.h Import ASL 12 years ago
codeace.c Import ASL 12 years ago
codeace.h Import ASL 12 years ago
codeavr.c Import ASL 12 years ago
codeavr.h Import ASL 12 years ago
codecop8.c Import ASL 12 years ago
codecop8.h Import ASL 12 years ago
codeflt1750.c Import ASL 12 years ago
codeflt1750.h Import ASL 12 years ago
codefmc8.c Import ASL 12 years ago
codefmc8.h Import ASL 12 years ago
codeh8_3.c Import ASL 12 years ago
codeh8_3.h Import ASL 12 years ago
codeh8_5.c Import ASL 12 years ago
codeh8_5.h Import ASL 12 years ago
codem16.c Import ASL 12 years ago
codem16.h Import ASL 12 years ago
codem16c.c Import ASL 12 years ago
codem16c.h Import ASL 12 years ago
codemcore.c Import ASL 12 years ago
codemcore.h Import ASL 12 years ago
codemsp.c Import ASL 12 years ago
codemsp.h Import ASL 12 years ago
codepseudo.c Import ASL 12 years ago
codepseudo.h Import ASL 12 years ago
codesc14xxx.c codesc14xxx: add support for 1445x and 1448x families 12 years ago
codesc14xxx.h Import ASL 12 years ago
codescmp.c Import ASL 12 years ago
codescmp.h Import ASL 12 years ago
codest6.c Import ASL 12 years ago
codest6.h Import ASL 12 years ago
codest7.c Import ASL 12 years ago
codest7.h Import ASL 12 years ago
codest9.c Import ASL 12 years ago
codest9.h Import ASL 12 years ago
codetms7.c Import ASL 12 years ago
codetms7.h Import ASL 12 years ago
codevars.c Import ASL 12 years ago
codevars.h Import ASL 12 years ago
codexa.c Import ASL 12 years ago
codexa.h Import ASL 12 years ago
codez8.c Import ASL 12 years ago
codez8.h Import ASL 12 years ago
codez80.c Import ASL 12 years ago
codez80.h Import ASL 12 years ago
datatypes.h Import ASL 12 years ago
endian.c Import ASL 12 years ago
endian.h Import ASL 12 years ago
equs.h Import ASL 12 years ago
fileformat.h Import ASL 12 years ago
findhyphen.c Import ASL 12 years ago
findhyphen.h Import ASL 12 years ago
grhyph.c Import ASL 12 years ago
grhyph.h Import ASL 12 years ago
header.res Import ASL 12 years ago
headids.c Import ASL 12 years ago
headids.h Import ASL 12 years ago
hex.c Import ASL 12 years ago
hex.h Import ASL 12 years ago
install.bat Import ASL 12 years ago
install.cmd Import ASL 12 years ago
install.sh Import ASL 12 years ago
ioerrs.c Import ASL 12 years ago
ioerrs.h Import ASL 12 years ago
ioerrs.res Import ASL 12 years ago
makedefs.files Import ASL 12 years ago
makedefs.src Import ASL 12 years ago
makedefs.str Import ASL 12 years ago
marks.asm Import ASL 12 years ago
nlmessages.c Import ASL 12 years ago
nlmessages.h Import ASL 12 years ago
nls.c Import ASL 12 years ago
nls.h Import ASL 12 years ago
objdefs.dos Import ASL 12 years ago
objdefs.unix Import ASL 12 years ago
p2bin.1 Import ASL 12 years ago
p2bin.c Import ASL 12 years ago
p2bin.res Import ASL 12 years ago
p2hex.1 Import ASL 12 years ago
p2hex.c Import ASL 12 years ago
p2hex.res Import ASL 12 years ago
pascstyle.h Import ASL 12 years ago
pbind.1 Import ASL 12 years ago
pbind.c Import ASL 12 years ago
pbind.res Import ASL 12 years ago
plist.1 Import ASL 12 years ago
plist.c Import ASL 12 years ago
plist.res Import ASL 12 years ago
reltypes.c Import ASL 12 years ago
rescomp.c Import ASL 12 years ago
specchars.h Import ASL 12 years ago
stdhandl.c Import ASL 12 years ago
stdhandl.h Import ASL 12 years ago
stdinc.h Import ASL 12 years ago
stringlists.c Import ASL 12 years ago
stringlists.h Import ASL 12 years ago
strutil.c Import ASL 12 years ago
strutil.h Import ASL 12 years ago
sysdefs.h Import ASL 12 years ago
tex2doc.c Import ASL 12 years ago
tex2html.c Import ASL 12 years ago
tools.res Import ASL 12 years ago
tools2.res Import ASL 12 years ago
toolutils.c Import ASL 12 years ago
toolutils.h Import ASL 12 years ago
tsc.h Import ASL 12 years ago
umlaut.c Import ASL 12 years ago
unumlaut.c Import ASL 12 years ago
ushyph.c Import ASL 12 years ago
ushyph.h Import ASL 12 years ago
version.c Import ASL 12 years ago
version.h Import ASL 12 years ago

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 .