![Oki MSM85C154HVS User Manual Download Page 241](http://html1.mh-extra.com/html/oki/msm85c154hvs/msm85c154hvs_user-manual_3635106241.webp)
MSM80C154S/83C154S/85C154HVS
234
7.4
Simplified Description of Instructions
Note that “data address” is represented as “direct address” in this description.
Mnemonic
Instruction code
D7 D6 D5 D4 D3 D2 D1 D0
Byte Cycle
Description
Page
Classifi-
cation
Arithmetic operation instructions
ADD
ADD
ADD
ADD
ADDC
ADDC
ADDC
ADDC
SUBB
SUBB
SUBB
SUBB
MUL
DIV
DA
A, Rr
A, direct
A, @Rr
A, #data
A, Rr
A, direct
A, @Rr
A, #data
A, Rr
A, direct
A, @Rr
A, #data
AB
AB
A
0
0
1
0
1 r
2
r
1
r
0
1
2
1
2
1
2
1
2
1
2
1
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
4
4
1
(AC),(OV),(C),(A)
←
(A)+(Rr) r=0~7
(AC),(OV),(C),(A)
←
(A)+(direct address)
(AC),(OV),(C),(A)
←
(A)+((Rr)) r=0 or 1
(AC),(OV),(C),(A)
←
(A)+#data
(AC),(OV),(C),(A)
←
(A)+(C)+(Rr) r=0~7
(AC),(OV),(C),(A)
←
(A)+(C)+(direct address)
(AC),(OV),(C),(A)
←
(A)+(C)+((Rr)) r=0 or 1
(AC),(OV),(C),(A)
←
(A)+(C)+#data
(AC),(OV),(C),(A)
←
(A)–((C)+(Rr)) r=0~7
(AC),(OV),(C),(A)
←
(A)–((C)+(direct address))
(AC),(OV),(C),(A)
←
(A)–((C)+((Rr))) r=0 or 1
(AC),(OV),(C),(A)
←
(A)–((C)+#data)
(AB)
←
(A)
×
(B)
(A) quotient, (B) remainder
←
(A)
/
(B)
When the contents of accumulator bit 0 thru 3 exceed
9, and when the auxiliary carry (AC) is 1, 6 is added to
bits 0 thru 3. And if examination od bits 4 thru 7 shows
that the result of adding the carry following correction of
the lower order bits 0 thru 3 by 6 is in excess of 9, or
carry (C) is 1, 6 is added to bits 4 thru 7. If a carry is
generated as a result, 1 is set in the carry flag.
249
250
248
247
253
254
252
251
359
360
358
357
335
284
278
0
0
1
0
0
1
0
1
a
7
a
6
a
5
a
4
a
3
a
2
a
1
a
0
0
0
1
0
0
1
1
r
0
0
1
0
0
1
0
0
I
7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
0
0
1
1
1 r
2
r
1
r
0
0
0
1
1
0
1
0
1
a
7
a
6
a
5
a
4
a
3
a
2
a
1
a
0
0
0
1
1
0
1
1
r
0
0
1
1
0
1
0
0
I
7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
1
0
0
1
1 r
2
r
1
r
0
1
0
0
1
0
1
0
1
a
7
a
6
a
5
a
4
a
3
a
2
a
1
a
0
1
0
0
1
0
1
1
r
1
0
0
1
0
1
0
0
I
7
I
6
I
5
I
4
I
3
I
2
I
1
I
0
1
0
1
0
0
1
0
0
1
0
0
0
0
1
0
0
1
1
0
1
0
1
0
0
Summary of Contents for MSM85C154HVS
Page 1: ...MSM80C154S MSM83C154S MSM85C154HVS USER S MANUAL...
Page 8: ...1 INTRODUCTION...
Page 9: ...MSM80C154S 83C154S 85C154HVS 2...
Page 15: ...MSM80C154S 83C154S 85C154HVS 8...
Page 16: ...2 SYSTEM CONFIGURATION...
Page 17: ...MSM80C154S 83C154S 85C154HVS 10...
Page 48: ...3 CONTROL...
Page 49: ...MSM80C154S 83C154S 85C154HVS 42...
Page 60: ...4 INTERNAL SPECIFICATIONS...
Page 61: ...MSM80C154S 83C154S 85C154HVS 54...
Page 197: ...MSM80C154S 83C154S 85C154HVS 190 5 INPUT OUTPUT PORTS...
Page 198: ...INPUT OUTPUT PORTS 191...
Page 220: ...INPUT OUTPUT PORTS 213...
Page 221: ...MSM80C154 83C154 85C154 214 6 ELECTRICAL CHARACTERISTICS...
Page 222: ...ELECTRICAL CHARACTERISTICS 215...
Page 236: ...7 DESCRIPTION OF INSTRUCTIONS...
Page 237: ...MSM80C154S 83C154S 85C154HVS 230...