- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
PM_Opc_PACK
        Jose I Romero edited this page Dec 6, 2019 
        ·
        1 revision
      
    == PACK = Pack Nibbles ==
| Hex | Mnemonic | Cycles | 
|---|---|---|
| DE | PACK | 8 | 
A        =  (8-Bits) Register A
B        =  (8-Bits) Register B
; PACK
A = (A AND 0x0F) OR (B SHL 4)
Pack low nibble of register A and B and return the formed byte into register A.
Register A forms the lower nibble and register B forms the higher nibble.
None
; A = 0x01
; B = 0x02
PACK
; A = 0x21
; B = 0x02 (Remain unchanged)