Monitoring register com = 24 – Sharp Z-336J User Manual

Page 106

Advertising
background image

9-29

Chapter 9: Message transfers

9

Monitoring register COM = 24

(H)

[Format]

COM

= 24

(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

1 to N

= Read data

[Function]
- Read the register data with the length shown by L, starting from DSEG, DADR.
- Up to 1024 bytes can be read at a time.

[Execution condition]
- Write enable mode

: Mode 0, mode 1 and mode 2

- PC operation status

: Stopping, operating

[Example]
- Read 4 bytes data from register 09000 to 09003.

Ë

Command

Ë

Response

COM

DSEG DADR

L

DADR

H

L

L

L

H

COM

RSLT DSEG DADR

L

DADR

H

L

L

L

H

DATA

1

DATA

N

......

File address

0800

(H)

= 004000

(8)

File number 0

File number 0

Ë

Command

Ë

Response

24

00

00

08

04

00

24

00

00

00

08

04

00

00

4F

32

01

Top register

number 09000

Top register

number 09000

File address

0800

(H)

= 004000

(8)

Data length

Data length

Value at

09000

Value at

09001

Value at

09002

Value at

09003

Advertising
This manual is related to the following products: