Commit graph

59 commits

Author SHA1 Message Date
George Koehler 054b9c87e1 Add .data8 for 8-byte literal integers to the assembler.
This takes literal integers, not expressions, because each machine
defines its own valu_t for expressions, but valu_t can be too narrow
for an 8-byte integer, and I don't want to change all the machines to
use a wider valu_t.  Instead, change how the assembler parses literal
integers.  Remove the NUMBER token and add a NUMBER8 token for an
int64_t.  The new .data8 pseudo emits all 8 bytes of the int64_t;
expressions narrow the int64_t to a valu_t.  Don't add any checks for
integer overflow; expressions and .data* pseudos continue to ignore
overflow when a number is too wide.

This commit requires int64_t and uint64_t in the C compiler to build
the assembler.  The ACK's own C compiler doesn't have these.

For the assembler's temporary file, add NUMBER4 to store 4-byte
integers.  NUMBER4 acts like NUMBER[0-3] and only stores a
non-negative integer.  Each negative integer now takes 8 bytes (up
from 4) in the temporary file.

Move the `\fI` and `\fP` in the uni_ass(6) manual, so the square
brackets in `thing [, thing]*` are not italic.  This looks nicer in my
terminal, where italic text is underlined.
2019-08-13 11:47:44 -04:00
David Given e8994afdf0 Apply Alan Cox's patch to add the 8085 extended instructions to the i80
assembler.
2019-02-11 21:14:35 +01:00
David Given a1747ac916 Add the .dataf4 and .dataf8 directives to the assembler --- manually converting
floats and doubles to bytes is not fun. It might even work!
2018-09-10 22:56:18 +02:00
George Koehler b1badf1851 Add instructions like "lwarx". Extend manual.
Add more page numbers from PowerPC version 2.01.  Remove "xnop" not in
2.01, add "mtcr" from 2.01.  Add "lwarx" and the other instructions
from Book II.  I did not try all the newly added instructions, but
these seem to work: dcbt, dcbtst, icibi, isync, lwarx, stwcx., mftb,
mftbu

In man/powerpc_as.6 (not installed), add a summary of the registers
and addressing modes (like in i386_as.6), describe short forms, update
description of hi16/ha16, add CAVEATS about instructions that some
processors can't run.
2018-03-07 13:37:31 -05:00
David Given 9cc264cfee Add a man page for the PowerPC assembler (not used anywhere yet). 2017-01-18 20:10:16 +01:00
David Given f67c98e239 Distributions are a pain --- let's not bother any more. Instead, we just tag
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
David Given d94c1c8150 Updated distr files.
--HG--
branch : dtrg-videocore
rename : mach/i80/.distr => mach/vc4/.distr
rename : plat/cpm/.distr => plat/rpi/.distr
2013-06-21 23:38:21 +01:00
David Given 2be811bac2 Updated VC4 docs.
--HG--
branch : dtrg-videocore
2013-06-21 23:21:08 +01:00
David Given fd2360be0f Ship assembler man pages.
--HG--
branch : dtrg-videocore
rename : man/8080_as.6 => man/i80_as.6
rename : man/m68k2_as.6 => man/m68020_as.6
2013-06-21 23:20:50 +01:00
George Koehler 0131ca4d46 Delete 689 undead files.
These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.

These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.

See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
ceriel 1db6a3029b Header --> Id 1994-06-24 14:02:31 +00:00
ceriel c6931b04e7 Some minor changes 1991-11-25 09:52:08 +00:00
ceriel fad1c30409 Avoid informal use of 'you' 1991-11-22 11:10:09 +00:00
ceriel 4e99d889ff Changed manual page installation mechanism 1991-11-05 15:31:14 +00:00
ceriel 4affc39a20 Replaced Makefile by proto.make 1991-11-04 11:47:15 +00:00
ceriel 5073c18d95 5th distribution now! 1991-10-16 11:54:35 +00:00
ceriel 7551b8e83a Changes to manual page 1991-10-01 12:18:39 +00:00
ceriel c3c1b918f0 updated 1991-06-26 17:39:48 +00:00
ceriel 1f0d138f31 clarified text somewhat 1990-07-30 12:46:12 +00:00
ceriel 34eff754f5 documented .use16 and .use32 1990-03-09 12:37:19 +00:00
ceriel b254b73745 Added i386_as.6 1990-01-16 13:27:47 +00:00
ceriel 3bed868bb9 .word -> .data2 1989-12-06 12:41:05 +00:00
ceriel b3e42570bb updated for new Pascal version 1989-05-09 13:49:25 +00:00
ceriel 760ee8362e Fix: current distribution is 4th 1989-02-09 15:57:27 +00:00
ceriel a3e39fe309 mentioned another problem 1988-04-29 09:13:55 +00:00
ceriel 01919da550 corrected some text on segemt registers 1988-04-11 10:44:06 +00:00
ceriel 3e01918c57 fixed: for some reason some back-quotes disappeared 1988-02-16 13:50:24 +00:00
ceriel a1772be47d some cosmetic changes 1987-07-22 16:35:09 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel b99a714497 minor changes 1987-03-11 14:54:29 +00:00
ceriel 9d24b2a46b *** empty log message *** 1987-03-11 13:13:49 +00:00
ceriel 9e0913d6e4 Initial revision 1987-03-11 13:13:36 +00:00
ceriel 7aa7619c4e *** empty log message *** 1987-03-11 11:05:32 +00:00
ceriel cc70e683c7 Adapted for new framework. 1987-03-02 16:22:15 +00:00
ceriel b457c3dc09 Adapted to current situation 1987-03-02 13:30:52 +00:00
ceriel 27a779e535 Adapted to current situation and format 1987-03-02 13:13:24 +00:00
ceriel b0d2a7c913 Initial revision 1987-03-02 11:28:52 +00:00
ceriel e4af749931 Adapted to current situation 1987-03-02 10:35:44 +00:00
dick d112eb710c adapted to phototypesetter 1986-01-20 20:39:09 +00:00
sater c2229e5c60 Initial revision 1985-01-04 14:05:25 +00:00
sater 11b3f3aa8a added entries for cg,ncg and cgg 1985-01-04 14:04:10 +00:00
keie 6860747f3e Adapted to new tree structure. 1984-12-21 14:23:10 +00:00
keie 6b38714690 Added line for m68k interpreters manual. 1984-12-18 17:26:42 +00:00
keie 80d385c291 *** empty log message *** 1984-12-18 17:22:29 +00:00
sater d9fe7e9cf0 Initial revision 1984-12-04 15:33:28 +00:00
em 73b651052e Added an example with segment prefixes. 1984-11-05 15:02:32 +00:00
ceriel 27dcc7efc6 Added entry for LLgen. 1984-10-08 15:20:54 +00:00
keie 6da6316680 Initial revision 1984-09-25 16:33:15 +00:00
keie 523134a5dc Added National semiconductor assembler. 1984-09-25 16:32:45 +00:00
keie d2493e4bc3 *** empty log message *** 1984-07-16 09:36:12 +00:00