Omron C200H Operation Manual page 195

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Binary Calculations
TR 0
00000
25504
25504
25504
182
HR 11, and either #0000 or #0001 is placed in HR 12 (0001 indicates a nega-
tive answer).
CLC(41)
SBB(51)
010
DM 0100
HR 10
SBB(51)
011
DM 0101
HR 11
CLC(41)
SBB(51)
#0000
HR 10
HR 10
SBB(51)
#0000
HR 11
HR 11
MOV(21)
#0000
HR 12
MOV(21)
#0001
HR 12
In the case below, 20F55A10 – B8A360E3 = 97AE06D3. In the the lower
4-digit subtraction, Su > Mi, so CY(SR 25504) becomes 1, and the result of
the higher 4-digit subtraction is decremented by 1. In the final calculations,
#0000 – F9D2 = 0000 + (10000 – F9D2) = 06D3.
Section 5-18
Address Instruction
00000
LD
00001
OUT
TR
00002
CLC(41)
00003
SBB(51)
DM
HR
00004
SBB(51)
DM
HR
00005
AND
00006
CLC(41)
00007
SBB(51)
#
HR
HR
00008
SBB(51)
#
HR
HR
00009
LD
TR
00010
AND NOT
00011
MOV(21)
#
HR
00012
LD
TR
00013
AND
00014
MOV(21)
#
HR
Operands
00000
0
010
0100
10
011
0101
11
25505
0000
10
10
0000
11
11
0
25504
0000
12
0
25504
0000
12

Advertisement

Table of Contents
loading

Table of Contents