🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #761

Re: MVCL (was Re: why code in 370 Assembler)

#761
From: news
Date: Mon, 29 Apr 1991 04:10
19 lines
1647 bytes
rickert@CS.NIU.EDU (Neil Rickert) writes:

> But of course your 18 bytes is a serious underestimate.  After all you must
>first save the current contents of the registers, and later restore them.
>If something is really worth doing in assembler, you are probably going to
>have all registers tied up, so there just aren't two even/odd pairs readily
>available.  MVCL is mostly useful when you need its feature of padding the
>destination.

In most cases, when I need an MVCL, the addresses I need are already in
the registers.  Careful register reallocation gets them into the correct
registers.  For instance I try to keep address/length data in even/odd
pairs even before I anticipate needing an MVCL.  Only rarely do I need
to dump something out of registers to do an MVCL.
--
 /***************************************************************************\
/ Phil Howard -- KA9WGN -- phil@ux1.cso.uiuc.edu   |  Guns don't aim guns at  \
\ Lietuva laisva -- Brivu Latviju -- Eesti vabaks  |  people; CRIMINALS do!!  /
 \***************************************************************************/
Technical Details
Message-ID: <9104290458.AA06736@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!tut.cis.ohio-state.edu!ucbvax!ucf1vm.BITNET!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!tut.cis.ohio-state.edu!ucbvax!ucf1vm.BITNET!news
From: news@ucf1vm.BITNET
Newsgroups: comp.lang.asm370
Subject: Re: MVCL (was Re: why code in 370 Assembler)
Message-ID: <9104290458.AA06736@ucbvax.Berkeley.EDU>
Date: 29 Apr 91 04:10:26 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
              <ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 19