On Fri 06 Mar 2020 at 08:18:07 -0800, Robert Armstrong wrote: > macro11 will assemble this once (or try to, without much success) > anyway, despite the ?0?. Is there a reason for this, or is this > just a bug?
I guess it's a bug. The code in rept_irpc.c line 44 seems to decrement and check the count only at the end of producing the body of the REPT block. That is easily fixed. Several of the regression tests pick up a change now and I think it looks correct. I am listing the repeat count as a computed value. I'm not sure if the original MACRO11 did this but it seems practical. I started working on this assembler a couple of years ago when I suddenly felt the overly optimistic need to incorporate the latest changes from KERMIT-11 into the RSX11-M+ version of Kermit. An assembler on a bigger system would be a nice help, but the one I found was more RT11-like, and not the latest version either. So I debugged it a bit and changed it where it deviated too mich from AA-KX10A-TC_PDP-11_MACRO-11_Reference_Manual_May88.pdf. If you find anything else that seems to deviate from either expectations or that reference, please let me know. > Thanks, > Bob Armstrong -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"
signature.asc
Description: PGP signature
_______________________________________________ Simh mailing list [email protected] http://mailman.trailing-edge.com/mailman/listinfo/simh
