Groups | Search | Server Info | Login | Register


Groups > comp.sys.unisys > #2611

2200 MASM Node seletors

From Stephen Boyd <sboydlns@gmail.com>
Newsgroups comp.sys.unisys
Subject 2200 MASM Node seletors
Date 2026-03-18 16:17 -0400
Organization A noiseless patient Spider
Message-ID <10pf18j$5djj$1@dont-email.me> (permalink)

Show all headers | View raw


I am having some trouble wrapping my head around MASM node selectors. 
Conceptually it seems easy enough. If I understand it properly, it is 
like having an array of labels with the same name. For example:

P(0) EQU 100
P(1) EQU 101
P(2) EQU 102
...

I understand this type of usage referencing PROC parameters.

I guess where I am having a problem is understanding whether or not the 
selector has to be an integer. I am looking at PROC that seems to be 
using alphabetic values as the selector.

M*       PROC      *2
M$$1     NAME      0
          DO        +(M(2,1)**0770000000000)<0 , GO M$$2
M(2,1)   EQU       +(M(2,1)*/6)+' '
          GO        M$$1
M$$2*    NAME      0
CH$*(M(1,1)) EQU   M(2,1)
          END

Which is called like this:

          M         'A' '.-'

If I am interpreting this correctly, this PROC left justifies '.-' and 
then assigns that value to the label CH$('A').

Or am I missing something basic.

To my mind, the MASM manual is wonderfully vague on the subject of node 
selectors.

Steve B

Back to comp.sys.unisys | Previous | Next | Find similar


Thread

2200 MASM Node seletors Stephen Boyd <sboydlns@gmail.com> - 2026-03-18 16:17 -0400

csiph-web