Subject: | |
From: | |
Reply To: | |
Date: | Tue, 21 Apr 1998 21:40:56 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 11:28 21.04.1998 +1200, you wrote:
>I am trying to switch some CM compiled COBOL programs to NM. I chose a
>simple program test first, compiled and linked OK using COB85XLK, but when
>I run the NM prog I get the following errors ...
...
>Anyone know what this means, is there more to converting to NM?? Any help,
>suggestions welcome.
The program tried to access a code location (instruction memory) that
it did not have proper permissions for (protection trap). This usually
happens when some kind of invalid pointer is dereferenced or the stack
(return address) had been trashed with garbage.
Might be something related to parameter passing and 32-bit versus 16-bit
address alignment. Those parameter alignment things sometimes need very
careful examination. Using the SETDUMP command just before the RUN might
give a more detailed error message, helpful to locate the failing code.
I believe there is a COBOL manual in the Migration Manual series that
might contain quite a number of helpful tips in regard to CM/NM issues.
There are different manuals for different (programming) languages. They
should be on LaserROM, too.
Lars.
|
|
|