LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Select

opSELECT8 (FLAG, SOURCE1, SOURCE2, *RESULT)

  • If FLAG is set move SOURCE1 to RESULT else move SOURCE2 to RESULT
  • Dispatch status unchanged

    Parameters
    (DATA8)FLAG
    (DATA8)SOURCE1
    (DATA8)SOURCE2
    Returns
    (DATA8) *RESULT

    opSELECT16 (FLAG, SOURCE1, SOURCE2, *RESULT)

  • If FLAG is set move SOURCE1 to RESULT else move SOURCE2 to RESULT
  • Dispatch status unchanged

    Parameters
    (DATA8)FLAG
    (DATA16)SOURCE1
    (DATA16)SOURCE2
    Returns
    (DATA16) *RESULT

    opSELECT32 (FLAG, SOURCE1, SOURCE2, *RESULT)

  • If FLAG is set move SOURCE1 to RESULT else move SOURCE2 to RESULT
  • Dispatch status unchanged

    Parameters
    (DATA8)FLAG
    (DATA32)SOURCE1
    (DATA32)SOURCE2
    Returns
    (DATA32) *RESULT

    opSELECTF (FLAG, SOURCE1, SOURCE2, *RESULT)

  • If FLAG is set move SOURCE1 to RESULT else move SOURCE2 to RESULT
  • Dispatch status unchanged

    Parameters
    (DATA8)FLAG
    (DATAF)SOURCE1
    (DATAF)SOURCE2
    Returns
    (DATAF) *RESULT