|
Hauptseite - Welches System? - Hardware - Software - Emulatoren - |
Internet MausNet Programmieren Verweise Über |
NAME | PACK -- Pack binary coded decimal (68020+) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNOPSIS |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FUNCTION |
Convert byte-per-digit unpacked BCD to packed two-digit-
per-byte BCD.
When operand is in a data register, 16 bits adjustment is added to source operand (16 bits). Then, bits 8 to 11 and 0 to 3 are packed and placed in the bits 0 to 7 of destination register. Others bits of this register are not altered. When operand is in memory, there's a research by pre-decrementing of the two bytes placed at given address. The two bytes are linked together, then adjustment is added, and the compacted result is stored at destination's place. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FORMAT |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RESULT | None. |
English version not yet available. |