The #KWIC source code has many instances of this pattern: BAKUP LDQ WORD&*/2-BAK...

@philcowans@universeodon.com

The #KWIC source code has many instances of this pattern:

BAKUP LDQ WORD&*/2-BAKUP/2,4

This is #IBM 704 #SAP #assembly language. The original is fixed width fields, but hopefully it's still readable.

I believe the '&' is a '+' (possibly even just a codepage error when reading the original tape), so the address is:

WORD + */2 - BAKUP/2

The thing is that '*' just means the address of the current instruction, and BAKUP is it's label, so as far as I can tell */2 - BAKUP/2 is always zero, so this is the same as WORD.

I don't supposed anyone has any idea why the programmer would have done this?

#retrocomputing #vintagecomputing #computerhistory