HTG12G0
Instruction Definitions
ADC A,[R1R0]
Machine code
Description
Operation
ADD A,XH
Machine code
Description
Operation
ADD A,[R1R0]
Machine code
Description
Operation
AND A,XH
Machine code
Description
Operation
AND A,[R1R0]
Machine code
Description
Operation
AND [R1R0],A
Machine code
Description
Operation
Add data memory contents and carry to accumulator
00001000
The contents of the data memory addressed by the register pair “R1,R0” and
the carry are added to the accumulator. Carry is affected.
ACC ← ACC+M(R1,R0)+CF
Add immediate data to accumulator
01000000 0000dddd
The specified data is added to the accumulator. Carry is affected.
ACC ← ACC+XH
Add data memory contents to accumulator
00001001
The contents of the data memory addressed by the register pair “R1,R0” is
added to the accumulator. Carry is affected.
ACC ← ACC+M(R1,R0)
Logical AND immediate data to accumulator
01000010 0000dddd
Data in the accumulator is logical AND with the immediate data specified by
the code.
ACC ← ACC “AND” XH
Logical AND accumulator with data memory
00011010
Data in the accumulator is logical AND with the data memory addressed by
the register pair “R1,R0”.
ACC ← ACC “AND” M(R1,R0)
Logical AND data memory with accumulator
00011101
Data in the data memory addressed by the register pair “R1,R0” is logical
AND with the accumulator
M(R1,R0) ← M(R1,R0) “AND” ACC
19
14th May ’99