----- Original Message -----
From: "Paul Gilmartin" <[email protected]>
To: <[email protected]>
Sent: Friday, October 09, 2015 3:29 AM
Subject: Re: BXLE considered harmful
On 2015-10-08, at 10:15, Brent Longborough wrote:
On Wed, 7 Oct 2015 06:43:26 -0400, David Cole wrote:
...
Interesting, even if somewhat dated. These days, AFAIK, all implied
references to registers by instructions are included in the General
Purpose Register Cross Reference. ...
Sorry, I'm saddened to think you've both missed the main point: if you
have to turn away from the code to (maybe find and) look at [** see
below], readability has already been damaged. You should be able to
understand the code just by reading it, without having to consult endnotes.
[** some (admittedly admirable) cross-reference list]
So, should every implied register reference be documented in situ, perhaps
by a line comment? Can any implied register reference be regarded as
"common knowledge"? What about Multiply which makes an implied reference
to the odd register adjacent to its explicit target? (I assume the admirable
cross-reference list reports that.)
Don't forget ME and MER, EDMK, etc
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com