John McKown wrote: >So why not a "test bit" instruction, instead of needing to generate a "bit >mask" from the "bit number", then do something like an EX of an NI or some >such (as I'm sure many have seen and done). This could be a simple RX format >instruction. The register would contain the bit number, from 0 to 7 >(specification exception if not in range),
Seemed you don't like these SI/RI format TM, TMHH, TMLL, TMHL, TMLH and TMY instructions? They're doing these tests but with 'bit mask'. > SLR R0,R0 > L R1,STORE_NUM > D R0,=F'8' > TBIT R0,STORE_BIT_STRING(R1) TBIT? Perhaps someone can write a macro doing that? > JZ CLOSED Sorry for not being neutral, but I wish I could use above to get rid of our president! :-) (JZ - Jacob Zuma) Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
