#Assembling rexxglue.asm
16-Feb-91 23:02:48
Sb: #7645-#Assembling rexxglue.asm
Fm: Bob Rakosky 75156,336
To: Kevin Ferlazzo 76137,3535
Kevin,
I suspect that Bill's assembly routines were written for a more
"standard" assembler. SAS's assembler, while it works for code written for
it, is a bit ideosyncratic, and you would need to "tweak" the source code
to compensate for it's ideosyncracies — most of which have to do with how
the SAS assembler is designed to support the various "memory models" of the
C compiler. An easier solution might be to get ahold of a more standard
assembler – I would recommend the public-domain assembler A68K by Charlie
Gibbs, particularly if you only need it for occasional use. If you are
going to be doing a lot of assembly work, you might look into one of the
other commercial assemblers (like Cape or Adept). In order to modify the
source you have to work with the SAS asm command, you'll have to have a
pretty good understanding of the various addressing modes used by the SAS
memory models, and spend a lot of time studying the SECTION (oops, I mean
CSECT) directive that's unique to the SAS assembler.
Hope this helps….
…BobR