Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Updated MACRO-10 blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Mar 21, 2017
1 parent 3886147 commit d59480b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _posts/2017-03-21-the-macro-10-assembler-50-years-later.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ best.
### Introducing the MACRO-10 "Mini-Assembler"

I decided that the shortest turn-around from *assembly* phase to *run* phase (aka *crash-and-burn* phase) would be to
assemble the files in PDPjs itself. So the PDPjs MACRO-10 "Mini-Assembler" was born. Any machine that includes the PDPjs
Debugger (like the machine below) now includes MACRO-10 support as well.
assemble the files in PDPjs itself. So the PDPjs [MACRO-10 "Mini-Assembler"](/modules/pdp10/lib/macro10.js) was born.
Any machine that includes the PDPjs Debugger (like the machine below) now includes MACRO-10 support as well.

{% include machine.html id="testka10" %}

Expand Down
2 changes: 1 addition & 1 deletion modules/pdp10/lib/macro10.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ class Macro10 {
this.parseText(macro.sText, macro.aParms, macro.aValues, macro.aDefaults);
/*
* WARNING: Our simplistic approach to macro expansion and processing means that recursive macros
* (such as the SHIFT macro contained in /apps/pdp10/tests/MACTEST1.MAC) could blow the stack. Nothing
* (such as the SHIFT macro contained in /apps/pdp10/tests/macro10/TEXT.MAC) could blow the stack. Nothing
* bad should happen (other than a JavaScript stack limit exception aborting the assembly), but it begs
* the question: did MACRO-10 perform any tail recursion optimizations or other tricks to prevent macros
* from running amok?
Expand Down

0 comments on commit d59480b

Please sign in to comment.