Chapter 6: Instructions 83
Example
Program Expression Operation Results
Initial conditions: W0 = 00017 = $0011
W1 = 00025 = $0019
Operation results: W10 = 00017 + 00025 +1 = 00043
W11 = $0011 + $0019 + 0 = $0030
R0.0
R
ADC
D = W10
S1 = W0
S2 = W1
R0.0
R
SC
R0.0
R
ADCB
D = W11
S1 = W0
S2 = W1
R0.0
R
RC
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com