|
Hauptseite - Welches System? - Hardware - Software - Emulatoren - |
Internet MausNet Programmieren Verweise Über |
NAME | BFEXTS -- Bit field signed extract | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNOPSIS |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FUNCTION |
<ea> indicates source operand which a part of bits have to be
extracted and extended. Offset enables to locate first bit of field;
width specifies number of bits of this field. Field is extracted,
and extended to 32 bits by the MSB of the field. Result is stored
in the data register Dn. Be careful, this instruction operates from MSB to LSB!! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FORMAT |
If Do = 0->Field "OFFSET" contains an immediate value which represents effective offset, value from 0 to 31. 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. If Dw = 1->field "WIDTH" indicates number of a data register (bits 3 and 4 of field cleared) which contains width of bit field. The value modulo 32 can go from 1 to 31, indicating a width from 1 to 31 bits. A value 0 indicates a width of 32 bits. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REGISTER |
<ea> specifies destination, addressing modes are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RESULT |
|
![]() |
English version not yet available. |