ML63611 User’s Manual
Appendix D
Appendix – 17
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 (continued)
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
SUB sfr,A
sfr,A
←
sfr – A
1
1
0
0
1
0
0
1
1
1
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
SUB \cur,A
cur,A
←
cur – A
1
1
0
0
1
1
0
1
1
1
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
SUB [HL],A
[HL],A
←
[HL] – A
1
1
0
0
0
0
0
1
0
1
0
0
1
0
0
1
0
1
√ √
—
SUB [XY],A
[XY],A
←
[XY] – A
1
1
0
0
0
0
0
1
0
1
0
0
1
1
0
1
0
1
√ √
—
SUB E:[HL],A
E:[HL],A
←
E:[HL] – A
1
1
0
0
0
0
0
1
0
1
0
0
0
0
0
1
0
1
√ √
—
SUB E:[XY],A
E:[XY],A
←
E:[XY] – A
1
1
0
0
0
0
0
1
0
1
0
0
0
1
0
1
0
1
√ √
—
SUB [HL+],A
[HL],A
←
[HL] – A,
HL
←
HL + 1
1
1
0
0
0
0
0
1
0
1
0
0
1
0
1
1
0
1
√ √ √
SUB [XY+],A
[XY],A
←
[XY] – A,
XY
←
XY + 1
1
1
0
0
0
0
0
1
0
1
0
0
1
1
1
1
0
1
√ √ √
SUB 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
1
0
1
√ √ √
SUB 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
1
0
1
√ √ √
SUB \cur,#i4
cur,A
←
cur – i4
1
1
1
0
0
1
i
3
i
2
i
1
i
0
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
SUB [HL],#i4
[HL],A
←
[HL] – i4
1
1
0
0
0
0
0
0
1
0
1
0
1
0
i
3
i
2
i
1
i
0
√ √
—
SUB [XY],#i4
[XY],A
←
[XY] – i4
1
1
0
0
0
0
0
0
1
0
1
0
1
1
i
3
i
2
i
1
i
0
√ √
—
SUB E:[HL],#i4
E:[HL],A
←
E:[HL] – i4
1
1
0
0
0
0
0
0
1
0
1
0
0
0
i
3
i
2
i
1
i
0
√ √
—
SUB E:[XY],#i4
E:[XY],A
←
E:[XY] – i4
1
1
0
0
0
0
0
0
1
0
1
0
0
1
i
3
i
2
i
1
i
0
√ √
—
SUB [HL+],#i4
[HL],A
←
[HL] – i4,
HL
←
HL + 1
1
1
0
0
0
0
0
0
1
1
1
0
1
0
i
3
i
2
i
1
i
0
√ √ √
SUB [XY+],#i4
[XY],A
←
[XY] – i4,
XY
←
XY + 1
1
1
0
0
0
0
0
0
1
1
1
0
1
1
i
3
i
2
i
1
i
0
√ √ √
SUB E:[HL+],#i4
E:[HL],A
←
E:[HL] – i4,
HL
←
HL + 1
1
1
0
0
0
0
0
0
1
1
1
0
0
0
i
3
i
2
i
1
i
0
√ √ √
SUB E:[XY+],#i4
E:[XY],A
←
E:[XY] – i4,
XY
←
XY + 1
1
1
0
0
0
0
0
0
1
1
1
0
0
1
i
3
i
2
i
1
i
0
√ √ √
SBC sfr,A
sfr,A
←
sfr – A – C
1
1
0
0
1
0
1
0
0
0
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
SBC \cur,A
cur,A
←
cur – A – C
1
1
0
0
1
1
1
0
0
0
r
7
r
6
r
5
r
4
r
3
r
2
r
1
r
0
√ √
—
SBC [HL],A
[HL],A
←
[HL] – A – C
1
1
0
0
0
0
0
1
0
1
0
0
1
0
0
1
1
0
√ √
—
SBC [XY],A
[XY],A
←
[XY] – A – C
1
1
0
0
0
0
0
1
0
1
0
0
1
1
0
1
1
0
√ √
—
SBC 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
1
1
0
√ √
—
SBC 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
1
1
0
√ √
—
SBC [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
1
1
0
√ √ √
SBC [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
1
1
0
√ √ √
SBC 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
1
1
0
√ √ √
SBC 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
1
1
0
√ √ √
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...