ML63611 User’s Manual
Appendix D
Appendix – 15
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
Arithmetic Instructions
INSTRUCTION CODE
FLAG
MNEMONIC
OPERATION
W C
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Z C G
ADD sfr,A
sfr,A
←
sfr + A
1
1
0
0
1
0
0
1
0
0
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
ADD \cur,A
cur,A
←
cur + A
1
1
0
0
1
1
0
1
0
0
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
ADD [HL],A
[HL],A
←
[HL] + A
1
1
0
0
0
0
0
1
0
1
0
0
1
0
0
0
1
0
√ √
—
ADD [XY],A
[XY],A
←
[XY] + A
1
1
0
0
0
0
0
1
0
1
0
0
1
1
0
0
1
0
√ √
—
ADD E:[HL],A
E:[HL],A
←
E:[HL] + A
1
1
0
0
0
0
0
1
0
1
0
0
0
0
0
0
1
0
√ √
—
ADD E:[XY],A
E:[XY],A
←
E:[XY] + A
1
1
0
0
0
0
0
1
0
1
0
0
0
1
0
0
1
0
√ √
—
ADD [HL+],A
[HL],A
←
[HL] + A,
HL
←
HL + 1
1
1
0
0
0
0
0
1
0
1
0
0
1
0
1
0
1
0
√ √ √
ADD [XY+],A
[XY],A
←
[XY] + A,
XY
←
XY + 1
1
1
0
0
0
0
0
1
0
1
0
0
1
1
1
0
1
0
√ √ √
ADD E:[HL+],A
E:[HL],A
←
E:[HL] + A,
HL
←
HL + 1
1
1
0
0
0
0
0
1
0
1
0
0
0
0
1
0
1
0
√ √ √
ADD E:[XY+],A
E:[XY],A
←
E:[XY] + A,
XY
←
XY + 1
1
1
0
0
0
0
0
1
0
1
0
0
0
1
1
0
1
0
√ √ √
ADD \cur,#i4
cur,A
←
cur + i4
1
1
1
0
0
0
i
3
i
2
i
1
i
0
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
ADD [HL],#i4
[HL],A
←
[HL] + i4
1
1
0
0
0
0
0
0
0
0
1
0
1
0
i
3
i
2
i
1
i
0
√ √
—
ADD [XY],#i4
[XY],A
←
[XY] + i4
1
1
0
0
0
0
0
0
0
0
1
0
1
1
i
3
i
2
i
1
i
0
√ √
—
ADD E:[HL],#i4
E:[HL],A
←
E:[HL] + i4
1
1
0
0
0
0
0
0
0
0
1
0
0
0
i
3
i
2
i
1
i
0
√ √
—
ADD E:[XY],#i4
E:[XY],A
←
E:[XY] + i4
1
1
0
0
0
0
0
0
0
0
1
0
0
1
i
3
i
2
i
1
i
0
√ √
—
ADD [HL+],#i4
[HL],A
←
[HL] + i4,
HL
←
HL + 1
1
1
0
0
0
0
0
0
0
1
1
0
1
0
i
3
i
2
i
1
i
0
√ √ √
ADD [XY+],#i4
[XY],A
←
[XY] + i4,
XY
←
XY + 1
1
1
0
0
0
0
0
0
0
1
1
0
1
1
i
3
i
2
i
1
i
0
√ √ √
ADD E:[HL+],#i4
E:[HL],A
←
E:[HL] + i4,
HL
←
HL + 1
1
1
0
0
0
0
0
0
0
1
1
0
0
0
i
3
i
2
i
1
i
0
√ √ √
ADD E:[XY+],#i4
E:[XY],A
←
E:[XY] + i4,
XY
←
XY + 1
1
1
0
0
0
0
0
0
0
1
1
0
0
1
i
3
i
2
i
1
i
0
√ √ √
ADC sfr,A
sfr,A
←
sfr + A + C
1
1
0
0
1
0
0
1
0
1
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
ADC \cur,A
cur,A
←
cur + A + C
1
1
0
0
1
1
0
1
0
1
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
ADC [HL],A
[HL],A
←
[HL] + A + C
1
1
0
0
0
0
0
1
0
1
0
0
1
0
0
0
1
1
√ √
—
ADC [XY],A
[XY],A
←
[XY] + A + C
1
1
0
0
0
0
0
1
0
1
0
0
1
1
0
0
1
1
√ √
—
ADC E:[HL],A
E:[HL],A
←
E:[HL] + A + C
1
1
0
0
0
0
0
1
0
1
0
0
0
0
0
0
1
1
√ √
—
ADC E:[XY],A
E:[XY],A
←
E:[XY] + A + C
1
1
0
0
0
0
0
1
0
1
0
0
0
1
0
0
1
1
√ √
—
ADC [HL+],A
[HL],A
←
[HL] + A + C,
HL
←
HL + 1
1
1
0
0
0
0
0
1
0
1
0
0
1
0
1
0
1
1
√ √ √
ADC [XY+],A
[XY],A
←
[XY] + A + C,
XY
←
XY + 1
1
1
0
0
0
0
0
1
0
1
0
0
1
1
1
0
1
1
√ √ √
ADC E:[HL+],A
E:[HL],A
←
E:[HL] + A + C,
HL
←
HL + 1
1
1
0
0
0
0
0
1
0
1
0
0
0
0
1
0
1
1
√ √ √
ADC E:[XY+],A
E:[XY],A
←
E:[XY] + A + C,
XY
←
XY + 1
1
1
0
0
0
0
0
1
0
1
0
0
0
1
1
0
1
1
√ √ √
Summary of Contents for ML63611
Page 9: ...Chapter 1 Overview...
Page 33: ...Chapter 2 CPU and Memory Spaces...
Page 42: ...Chapter 3 CPU Control Functions...
Page 49: ...Chapter 4 Interrupt INT...
Page 62: ...Chapter 5 Clock Generator Circuit OSC...
Page 71: ...Chapter 6 Time Base Counter TBC...
Page 75: ...Chapter 7 Timers TIMER...
Page 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Page 103: ...Chapter 9 Watchdog Timer WDT...
Page 108: ...Chapter 10 Ports INPUT I O PORT...
Page 140: ...Chapter 11 Melody Driver MELODY...
Page 152: ...Chapter 12 Serial Port SIO...
Page 179: ...Chapter 13 LCD Driver LCD...
Page 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Page 204: ...Chapter 15 Power Supply Circuit POWER...
Page 215: ...Chapter 16 A D Converter ADC...
Page 238: ...Appendixes...