Hi

There is an example of using bypassing post routine in the Authorized Assembler 
guide



eliminate the requirement to use the CS instruction. Figure 1 demonstrates an 
example of how to quick post an ECB. 
Figure 1. Bypassing the POST Routine
        L  RX,ECB          Get contents of ECB.
        N  RX,=X'3FFFFFFF' Turn off wait and post bits
        L  RY,=X'40000000' Post bit and post code
        CS RX,RY,ECB       Compare and swap to post ECB
        BZ POSTDONE        Branch if CS is successful
        LTR RX,RX          Wait bit on?
        BM DOPOST          If yes, then execute POST
        N  RX,=X'40000000' Is ECB posted?
        BNZ POSTDONE       If yes, do not execute POST
DOPOST  POST ECB
POSTDONE EQU  *


I am actually trying to do a XMEM post is this recommend as the other address 
space might be swapped out ? thanks




Sent from Mail for Windows 10


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

Reply via email to