A13111: Value out of range

[DISABLE, INFORMATION, WARNING, ERROR]

Description

When using the instruction BSET, BCLR, BRSET and BRCLR, this error message is issued if the specified value for the bit number is greater than 7.

Example
  MyData: SECTION SHORT

  data:   DS.B 1

  MyCode: SECTION

  entry:

          BCLR   20, data

          BRCLR  70, data, entry

          BSET    9, data

          BRSET 200, data, entry
  
Tips

Use a correct value for the bit number: 0, 1, 2, 3, 4, 5, 6, 7

Example
  MyData: SECTION SHORT

  data:   DS.B 1

  MyCode: SECTION

  entry:

          BCLR  7, data

          BRCLR 4, data, entry

          BSET  3, data

          BRSET 2, data, entry