ht82k68a Holtek Semiconductor Inc., ht82k68a Datasheet - Page 29

no-image

ht82k68a

Manufacturer Part Number
ht82k68a
Description
Ht82k68a -- Multimedia Keyboard Encoder 8-bit Mask Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
SUB A,[m]
Description
Operation
Affected flag(s)
SUBM A,[m]
Description
Operation
Affected flag(s)
SUB A,x
Description
Operation
Affected flag(s)
SWAP [m]
Description
Operation
Affected flag(s)
SWAPA [m]
Description
Operation
Affected flag(s)
Rev. 1.70
Subtract data memory from the accumulator
The specified data memory is subtracted from the contents of the accumulator, leaving the
result in the accumulator.
ACC
Subtract data memory from the accumulator
The specified data memory is subtracted from the contents of the accumulator, leaving the
result in the data memory.
[m]
Subtract immediate data from the accumulator
The immediate data specified by the code is subtracted from the contents of the accumula-
tor, leaving the result in the accumulator.
ACC
Swap nibbles within the data memory
The low-order and high-order nibbles of the specified data memory (1 of the data memo-
ries) are interchanged.
[m].3~[m].0
Swap data memory and place result in the accumulator
The low-order and high-order nibbles of the specified data memory are interchanged, writ-
ing the result to the accumulator. The contents of the data memory remain unchanged.
ACC.3~ACC.0
ACC.7~ACC.4
TO
TO
TO
TO
TO
ACC+[m]+1
ACC+[m]+1
ACC+x+1
PDF
PDF
PDF
PDF
PDF
[m].7~[m].4
[m].7~[m].4
[m].3~[m].0
OV
OV
OV
OV
OV
29
Z
Z
Z
Z
Z
AC
AC
AC
AC
AC
C
C
C
C
C
December 26, 2005
HT82K68A

Related parts for ht82k68a