View previous topic :: View next topic
|
Author |
Message |
vijay korde
New User
Joined: 19 Feb 2010 Posts: 27 Location: India
|
|
|
|
How to check condition code while Xpediting assembler program? |
|
Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The condition code is not yet available while the code is running. . . Or keep an eye on register 15.
Possibly, i misunderstand the question. |
|
Back to top |
|
 |
vijay korde
New User
Joined: 19 Feb 2010 Posts: 27 Location: India
|
|
|
|
I mean the PSW condition code not MAXCC. e.g LTR instruction sets condition code while XPEDITING. I want to view this condition code. |
|
Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
LTR instruction sets condition code |
Not quite correct. . .
LTR can be used to set a condition code, but that is not the reason the instruction exists. The name of the instruction is Load and Test Register. Suggest you reasearch the instruction. |
|
Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8671 Location: Dubuque, Iowa, USA
|
|
|
|
PEEK PSW and then interpret the appropriate PSW bits. |
|
Back to top |
|
 |
sandeep chopra
New User
Joined: 28 Aug 2008 Posts: 11 Location: Noida
|
|
|
|
Hi Vijay,
at command line type SHOW PSW and then check 18-19 bits of PSW.
Thanks,
Sandeep chopra |
|
Back to top |
|
 |
|