Re: SixPacks mods for GCIC users

"paoloG" <[email protected]> Sat, 06 Nov 2010 19:50:41 -0000
Newsgroups gmane.comp.emulators.hercules390.vm
Message-ID <[email protected]>



--- In [email protected], "kerravon86" <kerravon86@...> wrote:
>
> --- In [email protected], "paoloG" <crc@> wrote:
> >
> > It's clear that, being the synonym table entries 17 bytes long,
> > 3 times out of 4 the command name field is not aligned 
> > to a fullword.
> > 
> > In this case the LM 0,1,0(3) gives erratic results.
> 
> Erratic? It should have given a specification
> exception, shouldn't it? 3/4 of the time.

Excuse me for haven't been able to explain well ;-)

Perhaps 'Erratic' is not the right word.

Let's me make an axample: I type 'ACC 192 B' on the CMS console.

CMS sees that 'ACC' is not a CMS command; it calls DMSINA, with the 
string 'ACC     ' split into the registers 0 and 1.

DMSINA sees a corrispondence in its internal tab: it corresponds to
the command 'ACCESS  ' (8 bytes).

DMSINA returns the full command split into regs 0 and 1 : R0 should contain C'ACCE' and R1 C'SS  ' (in HEX x'C1C3C3C5' AND X'E2E24040').

*BUT* LM 0,1,0(3) doesn't work well and puts in R0 X'C1C3C340' and in  R1 X'E2E240C5'.

The commands processor tries to execute this command : 'ACC SS E' and of course gives an 'invalid CMS command' message.

No need for specification exception;-).

> 
> > I had the idea to split the LM instruction into two L intructions,
> > and it worked.
> 
> I'm surprised about that too. That should have
> failed too, shouldn't it?
> 

I didn't know; I just tried.
This is the the difference between creative people and dumb ones;-)
I saw that LM didn't work well, so I tried an other instruction that could give the same result.

> I think an ICM B'1111' is required for this.
> 
> Two of them.
>
 
?????????

> And what makes you think it is ARM-specific? It
> might be a Herc bug if it's not abending on the
> other environments.  Although VM may be intercepting
> that. Which would make a separate VM bug.
> 
> Or am I missing something?

I had this behaviour only in Hercules ARM version

(I tried VM/370 on Intel x86, SPARC, PowerPC and it worked fine)

> 
> BFN.  Paul.
>

BFN

Paul