[Simh] macro11

Rhialto rhialto at falu.nl
Sat Mar 7 11:19:15 EST 2020


On Sat 07 Mar 2020 at 15:55:25 +0100, Johnny Billquist wrote:
> A few examples:

I'll be using this as part of a new text case, if that's ok with you.

> .MAIN.  MACRO V05.05  Saturday 7-MAR-20 15:42  Page 1
> 
> 
>       1 000000                                  .PSECT  FOO,I,RW
>       2
>       3 000000  000042                          .WORD   42
>       4 000002  000000                  Y:      .WORD   0
>       5
>       6 000004  005067  177772                  CLR     Y

The effect of .ENABL AMA on this is kind of funny since it makes MACRO11
generate a relocation record where it otherwise would not:

.MAIN.  MACRO V05.05  Saturday 7-MAR-2020 17:04  Page 1


      1 000000                                  .PSECT  FOO,I,RW
      2 000000  000042                          .WORD   42
      3 000002  000000                  Y:       .WORD 0
      4 000004  005067  177772                  CLR     Y
      5                                         .ENABL AMA
      6 000010  005037  000002'                 CLR     Y
      7                                         .DSABL  AMA
      8         000001                          .END

The changes I proposed upthread match all of your test cases.
You can see the branch on github at
https://github.com/Rhialto/macro11/compare/master...fix-unneeded-relocation

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20200307/82280814/attachment.sig>


More information about the Simh mailing list