Commit graph pcjs/modules/pdp10/lib/macro10.js
Author SHA1 Message Date
Jeff
ea95de4939 Fixed (or rather, band-aided) a MACRO-10 regression assembling the nested macro test (/apps/pdp10/tests/macro10/TEST.MAC) 2017-04-05 20:42:44 -07:00
Jeff
5f72f1627f Updated the first PDP-10 reliability test (DAKBA) 2017-04-05 16:33:16 -07:00
Jeff
d4c12c8c7a Fixed the PDP-10 BLT instruction 2017-04-05 11:32:16 -07:00
Jeff
7e1fc5586e Added a minor improvement to the simplistic MACRO-10 fixup support in PDPjs 2017-04-04 16:34:03 -07:00
Jeff
427e6afdb8 Fixed OPDEF opcode generation (improper use of bitwise operators) 2017-04-04 11:26:49 -07:00
Jeff
d28d1ee940 Added a few PDP-10 byte pointer fixes, along with the ability to pass MACRO-10 text directly into the MACRO-10 assembler (use the Debugger's "as" command) 2017-04-04 10:42:41 -07:00
Jeff
09dc4dcb9a Lots of MACRO-10 improvements, DAKAM now assembles (but does not pass) 2017-04-03 16:10:08 -07:00
Jeff
26de8bbb1a Added another PDP-10 KA10 diagnostic (DAKAL) 2017-03-31 19:52:11 -07:00
Jeff
f928fd85f5 Fixed some regressions in MACRO-10 support (all the KA10 diagnostics archived so far assemble and pass again) 2017-03-31 18:42:57 -07:00
Jeff
afd621dc79 Updated the PDP-10 DAKAK diagnostic page, and verified the ability to assemble (but not run) all the original DAKAK source files, after making further improvements to the built-in MACRO-10 Mini-Assembler 2017-03-31 16:32:37 -07:00
Jeff
e7988597c5 Changed the remainder operator from '%' to '^/', mainly because '%' must be allowed in MACRO-10 symbols instead, but also because '%' led one to believe it was a "mod" operator (it wasn't); added IFDEF support to the MACRO-10 Mini-Assembler; updated the Debugger's assemble command to recognize filenames with "KLM" extensions, too. 2017-03-31 09:37:38 -07:00
Jeff
881da5b19c Added another PDP-10 diagnostic (DAKAJ), which in turn required some more MACRO-10 support (eg, macro parameters with backslashes) 2017-03-30 16:04:00 -07:00
Jeff
ec642a8c5b Made the Debugger's assemble command more flexible (the target address is optional now; the Debugger will use whatever load and/or start addresses the file(s) specified instead) 2017-03-30 09:04:56 -07:00
Jeff
0c9f752f86 More MACRO-10 updates (eg, LOC pseudo-op, SIXBIT/ASCII expression support) 2017-03-29 16:52:20 -07:00
Jeff
15417ca686 DAKAG PDP-10 diagnostic passes now (fixed the relative addressing location used within literal scopes) 2017-03-29 13:59:50 -07:00
Jeff
d0ff759684 Added MACRO-10 support for OPDEFs, which are macro-like statements used to generate words which can also be combined with addressing modifiers 2017-03-29 10:12:45 -07:00
Jeff
d5c48df9bc Added support for MACRO-10 literal collapsing; it's not super-aggressive, but it's more than adequate for what DEC's diagnostics require 2017-03-28 15:22:17 -07:00
Jeff
d13e7a5faf The expression parser now allows spaces inside expressions (a relaxation for certain MACRO-10 typos; eg, "- 1" where "-1" was expected) 2017-03-28 12:01:06 -07:00
Jeff
2a8c2a74d2 Fixed a couple of PDP-10 opcode emulation bugs (AOBJN, AOBJP, and CMP), and rounded out the set of DEC's basic instruction diagnostics 2017-03-27 11:44:42 -07:00
Jeff
dd24f4bb61 Added some PDP-10/MACRO-10 blog updates 2017-03-24 16:23:27 -07:00
Jeff
eed6e990e3 Cleaned up the MACRO-10 assembly demos 2017-03-24 14:11:28 -07:00
Jeff
1b0e01c66a Improved MACRO-10 addWord() parsing 2017-03-24 13:44:34 -07:00
Jeff
471a93353e Fixed MACRO-10 literal processing (literals need to be evaluated as early as possible, but not allocated until the end is reached) 2017-03-24 00:09:30 -07:00
Jeff
4d24a0ce6d Updated MACRO-10 blog post 2017-03-21 14:25:09 -07:00
Jeff
4cce2177f4 The recursive MACRO-10 test case (MACTEST1.MAC) found in the June 1972 MACRO-10 manual passes now 2017-03-19 14:03:49 -07:00
Jeff
fb83d1e503 More MACRO-10 parsing improvements 2017-03-19 12:03:45 -07:00
Jeff
3da33e3668 Added support for IRP, IRPC and IFN MACRO-10 pseudo-ops 2017-03-19 00:16:00 -07:00
Jeff
1c3c9c9856 Added various MACRO-10 expression improvements 2017-03-18 17:12:54 -07:00
Jeff
abd17be706 Allow the debugger to switch to base 2 2017-03-17 11:20:26 -07:00
Jeff
639db42178 PDP-10 Debugger now supports command overrides from the page settings 2017-03-17 10:21:15 -07:00
Jeff
66bd9f91a7 Updated the DAKAD diagnostic test page to reflect changes to the test machine 2017-03-16 17:04:51 -07:00
Jeff
01e9bcf0fe Fixed multiline ASCIZ MACRO-10 pseudo-op, and expressions with binary shift suffixes finally evaluate correctly in parseExpression() 2017-03-16 16:50:47 -07:00
Jeff
0e8e2ed4a2 Improved fixup handling for better MACRO-10 support 2017-03-16 00:32:30 -07:00
Jeff
c4a3d72674 More updates to the PDP-10 DAKAD diagnostic page 2017-03-14 19:21:36 -07:00
Jeff
e1e11b3b2d Updated PDP-10 diagnostic README 2017-03-14 17:59:02 -07:00
Jeff
4959108512 Multiple MACRO-10 source files can now be requested and assembled together; also, restored DAKAD.MAC to its original version and put my modified version in TEST.MAC 2017-03-14 17:18:02 -07:00
Jeff
3f8705ad98 Successfully assembled my first MACRO-10 source file (DAKAD.MAC) 2017-03-14 14:44:03 -07:00
Jeff
e1f37c8275 More MACRO-10 fixes 2017-03-13 17:44:01 -07:00
Jeff
3e2b825bef Fixed MACRO-10 processing of literals (requires internal labels that don't conflict with MACRO-10 labels) 2017-03-13 17:02:26 -07:00
Jeff
d591b08aea Added lots of MACRO-10 parsing improvements 2017-03-13 15:41:07 -07:00
Jeff
8b1625a174 Added support for MACRO-10 literals 2017-03-13 10:33:22 -07:00
Jeff
5a4e6d3818 Added support for both MACRO-10 macro defines and macro calls, including parameter substitution 2017-03-12 20:38:25 -07:00
Jeff
9ac0ffe679 Perform the documented encoding of SIXBIT character data for MACRO-10 2017-03-12 11:56:15 -07:00
Jeff
e2e018af67 More MACRO-10 support 2017-03-11 23:30:06 -08:00
Jeff
210ec50cd3 Started work on MACRO-10 parsing 2017-03-10 15:42:12 -08:00
Jeff
52bd554cf1 Updated PDP-10 README files 2017-03-10 11:22:51 -08:00
Jeff
fcee8a2838 Added support for future PDP-10 MACRO-10 assembler 2017-03-10 10:28:32 -08:00