A SERVICE OF

logo

395
Chapter 28 Bit Search
8.Caution
8. Caution
The following are the remarks on using the bit search module.
The macros are for REALOS(OS), and the user cannot use them when using REALOS.
If the relevant detection is not found, a detection result of 32(decimal), 10(hexadecimal) or 10000(binary) is
returned.
A value of “0” is not returned for the changing position detection.
The data registers (0-detection/1-detection/ changing-position-detection) is a write-only, and accessed by
word.
However, the 1-detection read address is assigned to an internal data register for restoration so that you can
restore previous bit search state. (Refer to “7.3 How is a result read? (Page No.394)”.)
The 0-detection register BS0, 1-detection register BSD1 and changing-position-detection register BSDC are
included in one register in terms of the structure. The operation is selected with the lowest four bits of the
accessing address.