P-Code Instructions (pcode.hlp) (Table of Contents; Topic list)
CvtWQ<n>
                                              Up Contents Index Back
──P-Code Instructions───────────────────────────────────────────────────────
 
  Syntax
 
  CvtWQ<n>
 
  /* Convert word to signed bit field. */
 
  Possible Instructions
 
  CvtWQb
 
  Description
 
  Used to extract a signed bit field from the top word of the stack. The
  top word is popped, shifted, and masked. The bit field is then
  sign-extended to a word value and pushed back onto the stack.
 
  The one-byte parameter <n> specifies the shift count (0-15) and the
  width (minus 1) of the bit field (0-15).
 
  See: CvtWuQb
 
 
                                     -♦-