with slight addendum: when such are immutable constants. IMO, self modifying code is anathema. I am not so extreme on code which is not re-entrant.
On Fri, Jan 31, 2014 at 8:42 PM, Ed Jaffe <edja...@phoenixsoftware.com>wrote: > On 1/31/2014 4:33 PM, Charles Mills wrote: > >> My mental model now is "instructions take almost no time at all; storage >> references take a very long time." >> > > Exactly. It's the reason there are so many more instructions with > immediate operands than there used to be. A good ROT for hand-coded > assembler language is to avoid storage operands references whenever you > can, even if it results in more total instructions. > > -- > Edward E Jaffe > Phoenix Software International, Inc > 831 Parkview Drive North > El Segundo, CA 90245 > http://www.phoenixsoftware.com/ > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Wasn't there something about a PASCAL programmer knowing the value of everything and the Wirth of nothing? Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN