Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->PACK

PACK       Pack

Compatibility: 68020 only.


Source (unpacked BCD) + adjustment -> Destination (packed BCD)

Adjusts and packs low four bits of each two bytes into a single byte


Assembler Syntax:PACK -(Ax),-(Ay),#adjustment
PACK Dx,Dy,#adjustment


Size:  Unsized

Condition Codes:

N    Not affected
Z    Not affected
V    Not affected
C    Not affected
X    Not affected

This instruction is not supported by CPU32 based microcontrollers.