• Subject: Re: bug in CMPPTRT
  • From: "Leif Svalgaard" <leif@xxxxxxxx>
  • Date: Sat, 30 Sep 2000 15:04:26 -0500

From: Dave McKenzie <davemck@galois.com>
To: <MI400@midrange.com>
Sent: Saturday, September 30, 2000 11:45 AM
Subject: Re: bug in CMPPTRT

> so BADNAME!! actually exists. Is a *PGM (type/subtype 0201)

Well, in a sense :-)  The address 16C5BF5032000000 is the address of the MI
itself (the one this MI code is in).  If you dump the MI pgm with SST, you'll
that the address 16C5BF5032001550 is in the "External object list table".
"exists" is a byte string in the MI pgm, not a pgm object named "BADNAME!!".

===> but that is the only thing the CMPPTRT instruction cares about. From
the manual: If operand 2 is null an equal condition occurs if
a pointer does not exist in the storage area identified by operand 1.

Nothing requires that an object exists just the pointer. No smiley needed.

| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.