beautypg.com

Write same data to register (com = 35 – Sharp Z-336J User Manual

Page 108

background image

9-31

Chapter 9: Message transfers

9

Ë

Command

Ë

Response

COM DSEG DADR

L

DADR

H

L

L

L

H

DATA

COM

RSLT DSEG DADR

L

DADR

H

L

L

L

H

Write same data to register (COM = 35

(H)

)

[Format]

COM

= 35

(H)

DSEG

= Segment (00 to 07, 10 to 2C

(H)

)

See page 9-20.

DADR

L, H

= Byte address (0000

(H)

to FFFF

(H)

)

See page 9-20.

L

L,H

= Data length (number of bytes)

DATA

= Write data

[Function]
- Write the same data with the length shown by L, starting from DSEG, DADR.

[Execution condition]
- Write enable mode

: Mode 1 and mode 2

- PC operation status

: Stopping, operating

[Example]
- Write 4F

(H)

to register 19000 to 19003 (4 bytes).

Ë

Command

Ë

Response

35

00

00

0A

04

00

4F

35

00

00

00

0A

04

00

File number 0

File number 0

Top register

number 19000

Top register

number 19000

File address

0A00

(H)

= 005000

(8)

File address

0A00

(H)

= 005000

(8)

Data

Data length

Data length

This manual is related to the following products: