Re: TESTAUTH LISTPSW not displaying CC for TAR

2013-11-03 Thread Micheal Butz
My mistake
I have to break on the instruction that
Sets the CC

Sent from my iPhone

> On Nov 2, 2013, at 11:58 PM, Tony Harminc  wrote:
> 
> On 2 November 2013 21:47, MichealButz  wrote:
> 
> [cleaned up messy, space-wasting  quoting]
> 
>> I am running a program under TESTAUTH which executes the TAR instruction,
>> after executing the inst under TESTAUTH I do a LISTPSW the CC is always 0
>> 
>> Well the DOC says in the ALET is 0 then a CC should be set at 8
> 
>>   XRXXXTIE   KEY  XMWP  AS CC  PROGMASK  EA BA  INSTR ADDR
>>   01118   1101  00 00 0  1   00065EB6
> 
> I think you don't understand the mapping of condition codes in the PSW
> to masks in the various branch instructions.
> 
>> According to the doc the CC should be a 8
> 
>> Resulting Condition Code:
>> 
>> 0 Access-list-entry token (ALET) is  hex
>> 
>> 1 ALET designates the dispatchable-unit access list and does not cause 
>> exceptions in access register translation (ART)
>> 
>> 2 ALET designates the primary-space access list and does not cause 
>> exceptions in ART
>> 
>> 3 ALET is 0001 hex or causes exceptions in ART
> 
> Hint: do you see a mention of CC 8 in what you just quoted?
> 
> Tony H.
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TESTAUTH LISTPSW not displaying CC for TAR

2013-11-02 Thread Tony Harminc
On 2 November 2013 21:47, MichealButz  wrote:

[cleaned up messy, space-wasting  quoting]

> I am running a program under TESTAUTH which executes the TAR instruction,
> after executing the inst under TESTAUTH I do a LISTPSW the CC is always 0
>
> Well the DOC says in the ALET is 0 then a CC should be set at 8

>XRXXXTIE   KEY  XMWP  AS CC  PROGMASK  EA BA  INSTR ADDR
>01118   1101  00 00 0  1   00065EB6

I think you don't understand the mapping of condition codes in the PSW
to masks in the various branch instructions.

> According to the doc the CC should be a 8

> Resulting Condition Code:
>
> 0 Access-list-entry token (ALET) is  hex
>
> 1 ALET designates the dispatchable-unit access list and does not cause 
> exceptions in access register translation (ART)
>
> 2 ALET designates the primary-space access list and does not cause exceptions 
> in ART
>
> 3 ALET is 0001 hex or causes exceptions in ART

Hint: do you see a mention of CC 8 in what you just quoted?

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


TESTAUTH LISTPSW not displaying CC for TAR

2013-11-02 Thread MichealButz
Hi,

 

I am running a program under TESTAUTH which executes the TAR instruction,
after executing the inst under TESTAUTH I do a LISTPSW the CC is always 0

Well the DOC says in the ALET is 0 then a CC should be set at 8

 

I run the following instruction under TESTAUTH

  LAM   AR5,AR5,=F'0' 

  TAR   AR5,AR5   

  BC8,OKAY

  NOP   OKAY  

 OKAY DS0H

I then a do a LISTPSW and 

LAM   AR5,AR5,=F'0' 

  TAR   AR5,AR5   

  BC8,OKAY

  NOP   OKAY  

 OKAY DS0H

 

 IKJ57652I PSW LOCATED AT 8DD3F8 

   XRXXXTIE   KEY  XMWP  AS CC  PROGMASK  EA BA  INSTR ADDR  

   01118   1101  00 00 0  1   00065EB6 

 

According to the doc the CC should be a 8

 

Resulting Condition Code:

0 Access-list-entry token (ALET) is 

 hex

1 ALET designates the dispatchable-unit access

 list and does not cause exceptions in accessregister

 translation (ART)

2 ALET designates the primary-space access

 list and does not cause exceptions in ART

3 ALET is 0001 hex or causes exceptions

 in ART


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN