S912XEP100J5MAGR Freescale Semiconductor, S912XEP100J5MAGR Datasheet - Page 403

no-image

S912XEP100J5MAGR

Manufacturer Part Number
S912XEP100J5MAGR
Description
S912XEP Series 16 Bit 50 Mhz 1 MB Flash 64 KB Ram Microcontroller - LQFP-144
Manufacturer
Freescale Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S912XEP100J5MAGR
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
BFFO
Operation
FirstOne(RS) ⇒ RD;
Searches the first “1” in register RS (from MSB to LSB) and writes the bit position into the destination
register RD. The upper bits of RD are cleared. In case the content of RS is equal to $0000, RD will be
cleared and the carry flag will be set. This is used to distinguish a “1” in position 0 versus no “1” in the
whole RS register at all.
CCR Effects
1. Before executing the instruction
Code and CPU Cycles
Freescale Semiconductor
N:
Z:
V:
C:
BFFO RD, RS
0
N
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010
0; cleared.
Set if the result is $0000; cleared otherwise.
0; cleared.
Set if RS = $0000
Z
0
V
Source Form
C
(1)
; cleared otherwise.
MC9S12XE-Family Reference Manual Rev. 1.23
Address
Mode
DYA
Bit Field Find First One
0
0
0
0
1
Machine Code
RD
RS
Chapter 10 XGATE (S12XGATEV3)
1
0
BFFO
0
0
0
Cycles
P
403

Related parts for S912XEP100J5MAGR