¿ªÔÆÌåÓý

Re: memset help
<adrian@...> wrote: If you're considering cross-compiling on a non S/370 architecture machine (rather than, say, a modern IBM zArch box), you'll need to consider the parsing and
By Tony Harminc · #1038 ·
Re: memset help
This one is clearly zeroing storage - not copying data. R3 is the "from" length field, and it's zero, so the MVCL is padding only (and that pad byte is zero). And the "from" address in R2 is
By Tony Harminc · #1037 ·
Re: Register Add - Quick Question
<adrian@...> wrote: A couple of points... In modern (i.e. z) architectural variants, there are new immediate instructions that may help with this. Notably there is AHI (Add Halfword
By Tony Harminc · #1036 ·
Re: memset help
Mark L. Gaubatz wrote: It somehow failed to dawn on me that the MVCs in URMON were going to/from zero page and therefore there was no possibility of some of the code being repeated in a loop to move a
By Peter Coghlan · #1035 ·
Re: memset help
In this particular case, it is the output of a disassembler. It's what we have to cope with when we don't have the source code to look at. Regards, Peter Coghlan.
By Peter Coghlan · #1034 ·
Re: memset help
For interest. Is that machine generated or hand crafted? If the latter must have been very error prone and expensive!
By adriansutherland67 · #1033 ·
Re: memset help
You have to be careful in analysis. The MVC sequences are intentionally moving and modifying parts of Page Zero. This is probably related to swapping of the current running user on MUSIC, or status
By Mark L. Gaubatz · #1032 ·
Re: memset help
By Dave Wade · #1031 ·
Re: memset help
<keanu> Whoa. </keanu> I sure wouldn't have wanted to be you in high school, Steve. ;) -Dave -- Dave McGuire, AK4HZ New Kensington, PA
By Dave McGuire · #1030 ·
Re: memset help
Oh dear. I have had the problem in the past of my e-mails being picked up by spam filters and so has my brother. I think in our case it was a case of the Scunthorpe problem
By Steven Fosdick · #1029 ·
Re: Register Add - Quick Question
Peter ... You have taught me what F meant!
By adriansutherland67 · #1028 ·
Re: Register Add - Quick Question
You are gentlemen ... thank you! It is for a 24 bit address. A
By adriansutherland67 · #1027 ·
Re: Register Add - Quick Question
This form of LA: LA Rx,D2(Rx) is only good to add up to 4095 to a register. Past that you have to use other instructions. And as Peter noted, the left 8 bits will be zeroed in AM24. Joe wrote:
By Joe Monk · #1026 ·
Re: Register Add - Quick Question
Mostly! LA works as long as the answer fits in 24 bits so it's no good for adding 8 to a negative value in R1 for example. An alternative solution is: A R1,=F'8' If memory is really tight, you could
By Peter Coghlan · #1025 ·
Re: Register Add - Quick Question
Yes! LA R1,8(R1) Joe adrian@...> wrote:
By Joe Monk · #1024 ·
Register Add - Quick Question
Is there a better way than this to add 8 to R1? LA? ? R0,8 AR? ? R1,R0? ? ? ? ? Add 8 to R1 Thanks A
By adriansutherland67 · #1023 ·
Re: memset help
Slowly learning - I think I can do USING and DROP and use MACROs as well ... includes/copybooks A
By adriansutherland67 · #1022 ·
Re: memset help
Exactly - however we don't really care about the backend optimisations (after all we use Hercules which has completely different timing characteristics), but we do the front end / C ones; for example
By adriansutherland67 · #1021 ·
Re: memset help
I recovered it ... the real issue is that it was work in progress A
By adriansutherland67 · #1020 ·
Re: memset help
Perhaps ... and 16mb is not very very tiny ... I think it is the optimisers that will cause dramas!
By adriansutherland67 · #1019 ·