|
Hauptseite - Welches System? - Hardware - Software - Emulatoren - |
Internet MausNet Programmieren Verweise Über |
NAME | BFFFO -- Bit field find first one set | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNOPSIS |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FUNCTION |
<ea> indicates source operand which a part of bits have to be
examined. Offset enables to locate first bit of field; width
specifies number of bits of this field. Field is examined,
offset of first bit set is encountred, the MSB is stored in
the data register Dn. Offset is equal to base offset more offset of bit into examined field. If no bits set are found, data register Dn contains a value which follows to initial offset more width of bit field. Be careful, this instruction operates from MSB to LSB!! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FORMAT |
If Do = 1->Field "OFFSET" indicates number of a data register (bits 9 and 10 of field cleared) which contains effective offset. Signed value is represented on 32 bits., so it's extended from -2 EXP 31 to (+2 EXP 31) -1.
If Dw = 0->field "WIDTH" contains an immediate value between 1 and 31
which indicates a width from 1 to 31 bits. A value of 0 indicates a
width of 32 bits. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REGISTER |
<ea> specifies destination, addressing modes are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RESULT |
|
![]() |
English version not yet available. |