ht82m9aae Holtek Semiconductor Inc., ht82m9aae Datasheet - Page 40

no-image

ht82m9aae

Manufacturer Part Number
ht82m9aae
Description
Usb Mouse Encoder 8-bit Mcu With Eeprom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
SET [m]
Description
Operation
Affected flag(s)
SET [m]. i
Description
Operation
Affected flag(s)
SIZ [m]
Description
Operation
Affected flag(s)
SIZA [m]
Description
Operation
Affected flag(s)
SNZ [m].i
Description
Operation
Affected flag(s)
Rev. 1.20
Set data memory
Each bit of the specified data memory is set to 1.
[m] ¬ FFH
Set bit of data memory
Bit i of the specified data memory is set to 1.
[m].i ¬ 1
Skip if increment data memory is 0
The contents of the specified data memory are incremented by 1. If the result is 0, the fol-
lowing instruction, fetched during the current instruction execution, is discarded and a
dummy cycle is replaced to get the proper instruction (2 cycles). Otherwise proceed with
the next instruction (1 cycle).
Skip if ([m]+1)=0, [m] ¬ ([m]+1)
Increment data memory and place result in ACC, skip if 0
The contents of the specified data memory are incremented by 1. If the result is 0, the next
instruction is skipped and the result is stored in the accumulator. The data memory re-
mains unchanged. If the result is 0, the following instruction, fetched during the current in-
struction execution, is discarded and a dummy cycle is replaced to get the proper
instruction (2 cycles). Otherwise proceed with the next instruction (1 cycle).
Skip if ([m]+1)=0, ACC ¬ ([m]+1)
Skip if bit i of the data memory is not 0
If bit i of the specified data memory is not 0, the next instruction is skipped. If bit i of the data
memory is not 0, the following instruction, fetched during the current instruction execution,
is discarded and a dummy cycle is replaced to get the proper instruction (2 cycles). Other-
wise proceed with the next instruction (1 cycle).
Skip if [m].i¹0
TO
TO
TO
TO
TO
¾
¾
¾
¾
¾
PDF
PDF
PDF
PDF
PDF
¾
¾
¾
¾
¾
OV
OV
OV
OV
OV
¾
¾
¾
¾
¾
40
¾
¾
¾
¾
¾
Z
Z
Z
Z
Z
AC
AC
AC
AC
AC
¾
¾
¾
¾
¾
HT82M9AEE/HT82M9AAE
¾
¾
¾
¾
¾
C
C
C
C
C
August 13, 2007

Related parts for ht82m9aae