Why not adapt the HLASM macro language subSTRING notation? Something like
<register designation>(<zero-origin offset>,<bit count>|*) E.g., R12(0,32) ==> R03(32,*) R03(32,*) ==> R12(0,32) R00(32,32) ==> R13(0,32) R05(8,8) ==> R12(0,8) This sort of thing would also be immediately intelligible to someone familiar with either COBOL's "reference modification" or the PL/I and PL/I dialects substr BIF. John Gilmore, Ashland, MA 01721 - USA
