Mitsubishi Electronics C64 Home Safety Product User Manual


 
8. Function Commands
D+, D+P
- 164 -
{ D+, D+P ... BIN 32-bit addition
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
3/4
S1
{
{ { { { { {
{
{ { { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
4/5
Addition command
D+
D+P
D+ S D
D+P
S D
Addition command
D+P
S2
S1
D
D+
D+P
D+
S2S1 D
Setting data (See *1)
S
Addition data or head No. of device
where addition data is stored.
(The addition results are stored in
this device.)
D
Setting data (See *2)
S2
S1
Addition data or head No. of device
where addition data is stored.
Head No. of device to store addition
results.
D
Addition data or head No. of device
where addition data is stored.
Addition data or head No. of device
where addition data is stored.
Function
(1) The BIN data designated with S1 (D of *1) and the BIN data designated with S2 (S of *2) are
added, and the addition results are stored in the device designated with D.
D+
S D
,
D+P S D
567890 (BIN) 123456 (BIN) 691346 (BIN)
B31
……B16B15……B0
+
D
D+1
B31
……B16B15……B0
S
S+1
B31
……B16B15……B0
DD+1
*1
D+
S2S1 D
,
D+P
S2
S1 D
567890 (BIN) 123456 (BIN) 691346 (BIN)
B31……B16B15……B0
S1S11
S2S21 DD1
+
B31……B16B15……B0
B31……B16B15……B0
*2