Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->UNPK

UNPK    Unpack BCD

Compatibility: 68020 only.


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

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


Assembler Syntax:UNPK -(Ax),-(Ay),#adjustment
UNPK 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.